com.sun.jdi
Interface Type
- All Known Subinterfaces:
- ArrayType, BooleanType, ByteType, CharType, ClassType, DoubleType, FloatType, IntegerType, InterfaceType, LongType, PrimitiveType, ReferenceType, ShortType, VoidType
- public abstract interface Type
- extends Mirror
The type of a Value
retrieved from the target VM.
This interface is the root of a type hierarchy encompassing primitive
types and reference types.
- Since:
- 1.3
Method Summary |
java.lang.String |
name()
|
java.lang.String |
signature()
Returns the JNI-style signature for this type. |
signature
public java.lang.String signature()
- Returns the JNI-style signature for this type.
For primitive classes
the returned signature is the signature of the corresponding primitive
type; for example, "I" is returned as the signature of the class
represented by java.lang.Integer#TYPE
.
- Returns:
- the string containing the type signature.
- See Also:
- Type Signatures
name
public java.lang.String name()
- Returns:
- a text representation of this type.