|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPDAClassType
Represents type of an object (class, interface, array) in the debugged process.
Since JDI interfaces evolve from one version to another, it's strongly recommended not to implement this interface in client code. New methods can be added to this interface at any time to keep up with the JDI functionality.
Method Summary | |
---|---|
ClassVariable |
classObject()
Returns the class object variable, that corresponds to this type in the target VM. |
ObjectVariable |
getClassLoader()
Gets the classloader object which loaded the class corresponding to this type. |
long |
getInstanceCount()
Retrieves the number of instances this class. |
List<ObjectVariable> |
getInstances(long maxInstances)
Returns instances of this class type. |
String |
getSourceName()
Get the source name of this type. |
Super |
getSuperClass()
Gets the superclass of this class. |
List<Field> |
staticFields()
Provide a list of static fields declared in this type. |
Methods inherited from interface org.netbeans.api.debugger.jpda.VariableType |
---|
getName |
Method Detail |
---|
String getSourceName() throws com.sun.jdi.AbsentInformationException
com.sun.jdi.AbsentInformationException
ClassVariable classObject()
UnsupportedOperationException
- when not supported by target VM.ObjectVariable getClassLoader()
null
if the class was loaded through the bootstrap class loader.Super getSuperClass()
null
if no such class exists.List<Field> staticFields()
Field
objects
representing static fields.long getInstanceCount() throws UnsupportedOperationException
JPDADebugger.canGetInstanceInfo()
to determine if this operation is supported.
UnsupportedOperationException
List<ObjectVariable> getInstances(long maxInstances) throws UnsupportedOperationException
JPDADebugger.canGetInstanceInfo()
to determine if this operation is supported.
maxInstances
- the maximum number of instances to return. Must be non-negative. If zero, all instances are returned.
UnsupportedOperationException
|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |