java.lang.Object
jdk.jshell.spi.ExecutionControl.ClassBytecodes
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ExecutionControl
Bundles class name with class bytecodes.
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionClassBytecodes(String name, byte[] bytecodes)
Creates a name/bytecode pair. -
Method Summary
-
Constructor Details
-
ClassBytecodes
Creates a name/bytecode pair.- Parameters:
name
- the class namebytecodes
- the class bytecodes
-
-
Method Details
-
bytecodes
public byte[] bytecodes()The bytecodes for the class.- Returns:
- the bytecodes
-
name
The class name.- Returns:
- the class name
-