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,IntersectionTypeImpl,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
Fields -
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[]inthashCode()toString()
-
Field Details
-
_env
-
_binding
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceTypeMirror
-
getKind
- Specified by:
getKindin interfaceTypeMirror
-
toString
- Specified by:
toStringin interfaceTypeMirror- Overrides:
toStringin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceTypeMirror- Overrides:
hashCodein classObject
-
equals
- Specified by:
equalsin interfaceTypeMirror- Overrides:
equalsin classObject
-
getPackedAnnotationBindings
-
getAnnotationBindings
-
getAnnotationMirrors
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct- Specified by:
getAnnotationMirrorsin interfaceTypeMirror
-
getAnnotation
- Specified by:
getAnnotationin interfaceAnnotatedConstruct- Specified by:
getAnnotationin interfaceTypeMirror
-
getAnnotationsByType
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct- Specified by:
getAnnotationsByTypein interfaceTypeMirror
-