APIdia Launch Partner
Top Description Fields Methods
com.sun.jdi

public Interface ClassObjectReference

extends ObjectReference
Known Direct Implementers
com.sun.tools.jdi.ClassObjectReferenceImpl

An instance of java.lang.Class from the target VM. Use this interface to access type information for the class, array, or interface that this object reflects.
Author
Gordon Hirsch
Since
1.3
See Also
ReferenceType

Field Summary

Inherited from com.sun.jdi.ObjectReference:
INVOKE_NONVIRTUALINVOKE_SINGLE_THREADED

Method Summary

Modifier and TypeMethod and Description
public ReferenceType

Returns:

the ReferenceType reflected by this class object.
reflectedType
()

Returns the ReferenceType corresponding to this class object.

Inherited from com.sun.jdi.ObjectReference:
disableCollectionenableCollectionentryCountequalsgetValuegetValueshashCodeinvokeMethodisCollectedowningThreadreferenceTypereferringObjectssetValueuniqueIDwaitingThreads

Method Detail

reflectedTypeback to summary
public ReferenceType reflectedType()

Returns the ReferenceType corresponding to this class object. The returned type can be used to obtain detailed information about the class.

Returns:ReferenceType

the ReferenceType reflected by this class object.