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
-
Method Summary
Modifier and TypeMethodDescriptionasMemberOf
(DeclaredType containing, Element element) boolean
contains
(TypeMirror t1, TypeMirror t2) List
<? extends TypeMirror> getArrayType
(TypeMirror componentType) getDeclaredType
(TypeElement typeElem, TypeMirror... typeArgs) getDeclaredType
(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs) getPrimitiveType
(TypeKind kind) getWildcardType
(TypeMirror extendsBound, TypeMirror superBound) boolean
isAssignable
(TypeMirror t1, TypeMirror t2) boolean
isSameType
(TypeMirror t1, TypeMirror t2) boolean
boolean
isSubtype
(TypeMirror t1, TypeMirror t2)
-
Constructor Details
-
TypesImpl
-
-
Method Details
-
asElement
-
asMemberOf
- Specified by:
asMemberOf
in interfaceTypes
-
boxedClass
- Specified by:
boxedClass
in interfaceTypes
-
capture
-
contains
-
directSupertypes
- Specified by:
directSupertypes
in interfaceTypes
-
erasure
-
getArrayType
- Specified by:
getArrayType
in interfaceTypes
-
getDeclaredType
- Specified by:
getDeclaredType
in interfaceTypes
-
getDeclaredType
public DeclaredType getDeclaredType(DeclaredType containing, TypeElement typeElem, TypeMirror... typeArgs) - Specified by:
getDeclaredType
in interfaceTypes
-
getNoType
-
getNullType
- Specified by:
getNullType
in interfaceTypes
-
getPrimitiveType
- Specified by:
getPrimitiveType
in interfaceTypes
-
getWildcardType
- Specified by:
getWildcardType
in interfaceTypes
-
isAssignable
- Specified by:
isAssignable
in interfaceTypes
-
isSameType
- Specified by:
isSameType
in interfaceTypes
-
isSubsignature
- Specified by:
isSubsignature
in interfaceTypes
-
isSubtype
-
unboxedType
- Specified by:
unboxedType
in interfaceTypes
-