Spec-Zone .ru
спецификации, руководства, описания, API

Mirror API
DRAFT ea-b118

Uses of Interface
com.sun.mirror.type.TypeMirror

Packages that use TypeMirror
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 TypeMirror in com.sun.mirror.declaration
 

Methods in com.sun.mirror.declaration that return TypeMirror
Modifier and Type Method and Description
 TypeMirror MethodDeclaration.getReturnType()
          Deprecated. Returns the formal return type of this method.
 TypeMirror ParameterDeclaration.getType()
          Deprecated. Returns the type of this parameter.
 TypeMirror FieldDeclaration.getType()
          Deprecated. Returns the type of this field.
 

Uses of TypeMirror in com.sun.mirror.type
 

Subinterfaces of TypeMirror 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 PrimitiveType
          Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is PrimitiveType.
 interface ReferenceType
          Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is ReferenceType.
 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.
 interface VoidType
          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 NoType.
 interface WildcardType
          Deprecated. All components of this API have been superseded by the standardized annotation processing API. The replacement for the functionality of this interface is WildcardType.
 

Methods in com.sun.mirror.type that return TypeMirror
Modifier and Type Method and Description
 TypeMirror ArrayType.getComponentType()
          Deprecated. Returns the component type of this array type.
 TypeMirror MirroredTypeException.getTypeMirror()
          Deprecated. Returns the type mirror corresponding to the type being accessed.
 

Methods in com.sun.mirror.type that return types with arguments of type TypeMirror
Modifier and Type Method and Description
 Collection<TypeMirror> DeclaredType.getActualTypeArguments()
          Deprecated. Returns (in order) the actual type arguments of this type.
 Collection<TypeMirror> MirroredTypesException.getTypeMirrors()
          Deprecated. Returns the type mirrors corresponding to the types being accessed.
 

Constructors in com.sun.mirror.type with parameters of type TypeMirror
Constructor and Description
MirroredTypeException(TypeMirror type)
          Deprecated. Constructs a new MirroredTypeException for the specified type.
 

Constructor parameters in com.sun.mirror.type with type arguments of type TypeMirror
Constructor and Description
MirroredTypesException(Collection<TypeMirror> types)
          Deprecated. Constructs a new MirroredTypesException for the specified types.
 

Uses of TypeMirror in com.sun.mirror.util
 

Methods in com.sun.mirror.util that return TypeMirror
Modifier and Type Method and Description
 TypeMirror Types.getErasure(TypeMirror t)
          Deprecated. Returns the erasure of a type.
 

Methods in com.sun.mirror.util with parameters of type TypeMirror
Modifier and Type Method and Description
 ArrayType Types.getArrayType(TypeMirror componentType)
          Deprecated. Returns an array type with the specified component type.
 DeclaredType Types.getDeclaredType(DeclaredType containing, TypeDeclaration decl, TypeMirror... typeArgs)
          Deprecated. Returns the type corresponding to a type declaration and actual arguments, given a containing type of which it is a member.
 DeclaredType Types.getDeclaredType(TypeDeclaration decl, TypeMirror... typeArgs)
          Deprecated. Returns the type corresponding to a type declaration and actual type arguments.
 TypeMirror Types.getErasure(TypeMirror t)
          Deprecated. Returns the erasure of a type.
 boolean Types.isAssignable(TypeMirror t1, TypeMirror t2)
          Deprecated. Tests whether one type is assignable to another.
 boolean Types.isSubtype(TypeMirror t1, TypeMirror t2)
          Deprecated. Tests whether one type is a subtype of the another.
 void TypeVisitor.visitTypeMirror(TypeMirror t)
          Deprecated. Visits a type mirror.
 void SimpleTypeVisitor.visitTypeMirror(TypeMirror t)
          Deprecated. Visits a type mirror.
 


Mirror API
DRAFT ea-b118

Copyright © 2004, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.