Module jdk.jshell

Class ExecutionControl.ClassBytecodes

    • Constructor Detail

      • ClassBytecodes

        public ClassBytecodes​(String name,
                              byte[] bytecodes)
        Creates a name/bytecode pair.
        Parameters:
        name - the class name
        bytecodes - the class bytecodes
    • Method Detail

      • bytecodes

        public byte[] bytecodes​()
        The bytecodes for the class.
        Returns:
        the bytecodes
      • name

        public String name​()
        The class name.
        Returns:
        the class name