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