Class ExecutionControl.ClassBytecodes
java.lang.Object
jdk.jshell.spi.ExecutionControl.ClassBytecodes
- All Implemented Interfaces:
Serializable
- Enclosing interface:
ExecutionControl
Bundles class name with class bytecodes.
- Since:
- 9
- See Also:
-
Constructor Summary
-
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
-