org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
Class TypeMirrorImpl

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.TypeMirrorImpl
All Implemented Interfaces:
javax.lang.model.type.TypeMirror
Direct Known Subclasses:
ArrayTypeImpl, DeclaredTypeImpl, ExecutableTypeImpl, PrimitiveTypeImpl, TypeVariableImpl, WildcardTypeImpl

public class TypeMirrorImpl
extends java.lang.Object
implements javax.lang.model.type.TypeMirror

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).


Field Summary
protected  Binding _binding
           
protected  BaseProcessingEnvImpl _env
           
 
Method Summary
<R,P> R
accept(javax.lang.model.type.TypeVisitor<R,P> v, P p)
           
 boolean equals(java.lang.Object obj)
           
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> annotationType)
           
protected  AnnotationBinding[] getAnnotationBindings()
           
 java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
           
<A extends java.lang.annotation.Annotation>
A[]
getAnnotationsByType(java.lang.Class<A> annotationType)
           
 javax.lang.model.type.TypeKind getKind()
           
 AnnotationBinding[] getPackedAnnotationBindings()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_env

protected final BaseProcessingEnvImpl _env

_binding

protected final Binding _binding
Method Detail

accept

public <R,P> R accept(javax.lang.model.type.TypeVisitor<R,P> v,
                      P p)
Specified by:
accept in interface javax.lang.model.type.TypeMirror

getKind

public javax.lang.model.type.TypeKind getKind()
Specified by:
getKind in interface javax.lang.model.type.TypeMirror

toString

public java.lang.String toString()
Specified by:
toString in interface javax.lang.model.type.TypeMirror
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.lang.model.type.TypeMirror
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface javax.lang.model.type.TypeMirror
Overrides:
equals in class java.lang.Object

getPackedAnnotationBindings

public final AnnotationBinding[] getPackedAnnotationBindings()

getAnnotationBindings

protected AnnotationBinding[] getAnnotationBindings()

getAnnotationMirrors

public java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()

getAnnotation

public <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationType)

getAnnotationsByType

public <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType(java.lang.Class<A> annotationType)