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 Description TypeMirrorMethodDeclaration. getReturnType()Returns the formal return type of this method.TypeMirrorFieldDeclaration. getType()Returns the type of this field.TypeMirrorParameterDeclaration. getType()Returns the type of this parameter. -
Uses of TypeMirror in com.sun.mirror.type
Subinterfaces of TypeMirror in com.sun.mirror.type Modifier and Type Interface Description interfaceAnnotationTypeRepresents an annotation type.interfaceArrayTypeRepresents an array type.interfaceClassTypeRepresents a class type.interfaceDeclaredTypeRepresents a declared type, either a class type or an interface type.interfaceEnumTypeRepresents an enum type.interfaceInterfaceTypeRepresents an interface type.interfacePrimitiveTypeRepresents a primitive type.interfaceReferenceTypeRepresents a reference type.interfaceTypeVariableRepresents a type variable.interfaceVoidTypeA pseudo-type representing the type ofvoid.interfaceWildcardTypeRepresents a wildcard type argument.Methods in com.sun.mirror.type that return TypeMirror Modifier and Type Method Description TypeMirrorArrayType. getComponentType()Returns the component type of this array type.TypeMirrorMirroredTypeException. getTypeMirror()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 Description Collection<TypeMirror>DeclaredType. getActualTypeArguments()Returns (in order) the actual type arguments of this type.Collection<TypeMirror>MirroredTypesException. getTypeMirrors()Returns the type mirrors corresponding to the types being accessed.Constructors in com.sun.mirror.type with parameters of type TypeMirror Constructor Description MirroredTypeException(TypeMirror type)Constructs a new MirroredTypeException for the specified type.Constructor parameters in com.sun.mirror.type with type arguments of type TypeMirror Constructor Description MirroredTypesException(Collection<TypeMirror> types)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 Description TypeMirrorTypes. getErasure(TypeMirror t)Returns the erasure of a type.Methods in com.sun.mirror.util with parameters of type TypeMirror Modifier and Type Method Description ArrayTypeTypes. getArrayType(TypeMirror componentType)Returns an array type with the specified component type.DeclaredTypeTypes. getDeclaredType(TypeDeclaration decl, TypeMirror... typeArgs)Returns the type corresponding to a type declaration and actual type arguments.DeclaredTypeTypes. getDeclaredType(DeclaredType containing, TypeDeclaration decl, TypeMirror... typeArgs)Returns the type corresponding to a type declaration and actual arguments, given a containing type of which it is a member.TypeMirrorTypes. getErasure(TypeMirror t)Returns the erasure of a type.booleanTypes. isAssignable(TypeMirror t1, TypeMirror t2)Tests whether one type is assignable to another.booleanTypes. isSubtype(TypeMirror t1, TypeMirror t2)Tests whether one type is a subtype of the another.voidSimpleTypeVisitor. visitTypeMirror(TypeMirror t)Visits a type mirror.voidTypeVisitor. visitTypeMirror(TypeMirror t)Visits a type mirror.
-