Class ExecutionControl.ClassBytecodes
- java.lang.Object
-
- jdk.jshell.spi.ExecutionControl.ClassBytecodes
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- ExecutionControl
public static final class ExecutionControl.ClassBytecodes extends Object implements Serializable
Связывает имя класса с байткодами класса.
- See Also:
- Serialized Form
Конструкторы
| Конструктор | Описание |
|---|---|
ClassBytecodes(String name,
byte[] bytecodes) |
Создаёт пару имя/байткоды. |
Методы
| Модификатор и тип | Метод | Описание |
|---|---|---|
byte[] |
bytecodes() |
Байткоды для класса. |
String |
name() |
Имя класса. |
Методы, унаследованные от класса java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Конструкторы
ClassBytecodes
public ClassBytecodes(String name,
byte[] bytecodes)
Создаёт пару имя/байткоды.
- Parameters:
-
name- имя класса -
bytecodes- байткоды класса
Методы
bytecodes
public byte[] bytecodes()
Байткоды для класса.
- Returns:
- байткоды
name
public String name()
Имя класса.
- Returns:
- имя класса
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/jdk.jshell/jdk/jshell/spi/ExecutionControl.ClassBytecodes.html