Class TypesImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypesImpl
- All Implemented Interfaces:
Types
Utilities for working with types (as opposed to elements).
There is one of these for every ProcessingEnvironment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasElement(TypeMirror t)asMemberOf(DeclaredType containing, Element element)capture(TypeMirror t)booleancontains(TypeMirror t1, TypeMirror t2)List<? extends TypeMirror>erasure(TypeMirror t)getArrayType(TypeMirror componentType)getDeclaredType(TypeElement typeElem, TypeMirror... typeArgs)getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs)getPrimitiveType(TypeKind kind)getWildcardType(TypeMirror extendsBound, TypeMirror superBound)booleanisAssignable(TypeMirror t1, TypeMirror t2)booleanisSameType(TypeMirror t1, TypeMirror t2)booleanisSubsignature(ExecutableType m1, ExecutableType m2)booleanisSubtype(TypeMirror t1, TypeMirror t2)
-
Constructor Details
-
TypesImpl
-
-
Method Details
-
asElement
-
asMemberOf
- Specified by:
asMemberOfin interfaceTypes
-
boxedClass
- Specified by:
boxedClassin interfaceTypes
-
capture
-
contains
-
directSupertypes
- Specified by:
directSupertypesin interfaceTypes
-
erasure
-
getArrayType
- Specified by:
getArrayTypein interfaceTypes
-
getDeclaredType
- Specified by:
getDeclaredTypein interfaceTypes
-
getDeclaredType
public DeclaredType getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs)- Specified by:
getDeclaredTypein interfaceTypes
-
getNoType
-
getNullType
- Specified by:
getNullTypein interfaceTypes
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceTypes
-
getWildcardType
- Specified by:
getWildcardTypein interfaceTypes
-
isAssignable
- Specified by:
isAssignablein interfaceTypes
-
isSameType
- Specified by:
isSameTypein interfaceTypes
-
isSubsignature
- Specified by:
isSubsignaturein interfaceTypes
-
isSubtype
-
unboxedType
- Specified by:
unboxedTypein interfaceTypes
-