Class TypeMirrorImpl
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeMirrorImpl
- All Implemented Interfaces:
AnnotatedConstruct
,TypeMirror
- Direct Known Subclasses:
ArrayTypeImpl
,DeclaredTypeImpl
,ExecutableTypeImpl
,NoTypeImpl
,PrimitiveTypeImpl
,TypeVariableImpl
,WildcardTypeImpl
Implementation of a TypeMirror. TypeMirror represents a type, including
types that have no declaration, such as primitives (int, boolean) and
types that are specializations of declarations
(List<String>)
.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(TypeVisitor<R, P> v, P p) boolean
<A extends Annotation>
AgetAnnotation
(Class<A> annotationType) protected AnnotationBinding[]
List
<? extends AnnotationMirror> <A extends Annotation>
A[]getAnnotationsByType
(Class<A> annotationType) getKind()
final AnnotationBinding[]
int
hashCode()
toString()
-
Field Details
-
_env
-
_binding
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceTypeMirror
-
getKind
- Specified by:
getKind
in interfaceTypeMirror
-
toString
- Specified by:
toString
in interfaceTypeMirror
- Overrides:
toString
in classObject
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceTypeMirror
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceTypeMirror
- Overrides:
equals
in classObject
-
getPackedAnnotationBindings
-
getAnnotationBindings
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrors
in interfaceAnnotatedConstruct
- Specified by:
getAnnotationMirrors
in interfaceTypeMirror
-
getAnnotation
- Specified by:
getAnnotation
in interfaceAnnotatedConstruct
- Specified by:
getAnnotation
in interfaceTypeMirror
-
getAnnotationsByType
- Specified by:
getAnnotationsByType
in interfaceAnnotatedConstruct
- Specified by:
getAnnotationsByType
in interfaceTypeMirror
-