## Uses of Interface
com.sun.mirror.type.ReferenceType

- Packages that use ReferenceType
  Package | Description
  --- | ---
  com.sun.mirror.declaration | Interfaces used to model program element declarations.
  com.sun.mirror.type | Interfaces used to model types.
  com.sun.mirror.util | Utilities to assist in the processing of declarations and types.

- - ### Uses of ReferenceType in com.sun.mirror.declaration

    Methods in com.sun.mirror.declaration that return types with arguments of type ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `Collection<ReferenceType>` | TypeParameterDeclaration.`getBounds()` Deprecated. Returns the bounds of this type parameter.
    `Collection<ReferenceType>` | ExecutableDeclaration.`getThrownTypes()` Deprecated. Returns the exceptions and other throwables listed in this method or constructor's `throws` clause.

  - ### Uses of ReferenceType in com.sun.mirror.type

    Subinterfaces of ReferenceType in com.sun.mirror.type
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AnnotationType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `DeclaredType`.
    `interface` | `ArrayType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `ArrayType`.
    `interface` | `ClassType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `DeclaredType`.
    `interface` | `DeclaredType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `DeclaredType`.
    `interface` | `EnumType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `DeclaredType`.
    `interface` | `InterfaceType` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is included in `DeclaredType`.
    `interface` | `TypeVariable` Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is `TypeVariable`.

    Methods in com.sun.mirror.type that return types with arguments of type ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `Collection<ReferenceType>` | WildcardType.`getLowerBounds()` Deprecated. Returns the lower bounds of this wildcard.
    `Collection<ReferenceType>` | WildcardType.`getUpperBounds()` Deprecated. Returns the upper bounds of this wildcard.

  - ### Uses of ReferenceType in com.sun.mirror.util

    Methods in com.sun.mirror.util with parameters of type ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `void` | TypeVisitor.`visitReferenceType(ReferenceType t)` Deprecated. Visits a reference type.
    `void` | SimpleTypeVisitor.`visitReferenceType(ReferenceType t)` Deprecated. Visits a reference type.

    Method parameters in com.sun.mirror.util with type arguments of type ReferenceType
    Modifier and Type | Method and Description
    --- | ---
    `WildcardType` | Types.`getWildcardType(Collection<ReferenceType> upperBounds, Collection<ReferenceType> lowerBounds)` Deprecated. Returns a new wildcard.
    `WildcardType` | Types.`getWildcardType(Collection<ReferenceType> upperBounds, Collection<ReferenceType> lowerBounds)` Deprecated. Returns a new wildcard.

Copyright © 2004, 2019, Oracle and/or its affiliates. All rights reserved.