Overview | Package | Class | Use | Tree | Index | Help
| Java Debug Interface
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Method Summary
`String` | `name()`
`String` | `signature()` Returns the JNI-style signature for this type.

Methods inherited from interface com.sun.jdi.Mirror
`toString, virtualMachine`

Method Detail

### 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.

Overview | Package | Class | Use | Tree | Index | Help
| Java Debug Interface
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD