com.sun.jdi
Interface Type
- All Superinterfaces:
- Mirror
- All Known Subinterfaces:
- ArrayType, BooleanType, ByteType, CharType, ClassType, DoubleType, FloatType, IntegerType, InterfaceType, LongType, PrimitiveType, ReferenceType, ShortType, VoidType
- public 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
signature
public 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 String name()
- Returns:
- a text representation of this type.