Интерфейс ClassObjectReference
- Все суперинтерфейсы:
-
Mirror,ObjectReference,Value
public interface ClassObjectReference extends ObjectReference
Экземпляр java.lang.Class из целевой виртуальной машины. Используйте этот интерфейс для доступа к информации о типе класса, массива или интерфейса, который отражает этот объект.
- С:
- 1.3
- См. также:
Краткое описание полей
Поля, объявленные в интерфейсе com.sun.jdi.ObjectReference
INVOKE_NONVIRTUAL, INVOKE_SINGLE_THREADED
Краткое описание методов
| Модификатор и тип | Метод | Описание |
|---|---|---|
ReferenceType |
reflectedType() |
Возвращает ReferenceType, соответствующий этому объекту класса. |
Методы, объявленные в интерфейсе com.sun.jdi.Mirror
toString, virtualMachine
Методы, объявленные в интерфейсе com.sun.jdi.ObjectReference
disableCollection, enableCollection, entryCount, equals, getValue, getValues, hashCode, invokeMethod, isCollected, owningThread, referenceType, referringObjects, setValue, uniqueID, waitingThreads
Подробное описание методов
reflectedType
ReferenceType reflectedType()
Возвращает
ReferenceType, соответствующий этому объекту класса. Возвращаемый тип может быть использован для получения подробной информации о классе.- Возвращает:
- the
ReferenceTypereflected by this class object.
© 1993, 2023, 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/21/docs/api/jdk.jdi/com/sun/jdi/ClassObjectReference.html