Uses of Interface com.sun.jdi.Type (Java Debug Interface )
Date: 2015-05-24

## Uses of Interface
com.sun.jdi.Type

- Packages that use Type
  Package | Description
  --- | ---
  com.sun.jdi | This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.

- - ### Uses of Type in com.sun.jdi

    Subinterfaces of Type in com.sun.jdi
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ArrayType` Provides access to the class of an array and the type of its components in the target VM.
    `interface` | `BooleanType` The type of all primitive `boolean` values accessed in the target VM.
    `interface` | `ByteType` The type of all primitive byte values accessed in the target VM.
    `interface` | `CharType` The type of all primitive char values accessed in the target VM.
    `interface` | `ClassType` A mirror of a class in the target VM.
    `interface` | `DoubleType` The type of all primitive double values accessed in the target VM.
    `interface` | `FloatType` The type of all primitive float values accessed in the target VM.
    `interface` | `IntegerType` The type of all primitive `int` values accessed in the target VM.
    `interface` | `InterfaceType` A mirror of an interface in the target VM.
    `interface` | `LongType` The type of all primitive `long` values accessed in the target VM.
    `interface` | `PrimitiveType` The type associated with non-object values in a target VM.
    `interface` | `ReferenceType` The type of an object in a target VM.
    `interface` | `ShortType` The type of all primitive `short` values accessed in the target VM.
    `interface` | `VoidType` The type of all primitive `void` values accessed in the target VM.

    Methods in com.sun.jdi that return Type
    Modifier and Type | Method and Description
    --- | ---
    `Type` | ArrayType.`componentType()` Returns the component type of this array, as specified in the array declaration.
    `Type` | Method.`returnType()` Returns the return type, as specified in the declaration of this method.
    `Type` | Field.`type()` Returns the type of this field.
    `Type` | Value.`type()` Returns the run-time type of this value.
    `Type` | LocalVariable.`type()` Returns the type of this variable.

    Methods in com.sun.jdi that return types with arguments of type Type
    Modifier and Type | Method and Description
    --- | ---
    `List<Type>` | Method.`argumentTypes()` Returns a list containing the type of each formal parameter of this method.

Copyright © 1999, 2015, Oracle and/or its affiliates. All rights reserved.