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

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.apt.model.NoTypeImpl
All Implemented Interfaces:
javax.lang.model.type.NoType, javax.lang.model.type.NullType, javax.lang.model.type.ReferenceType, javax.lang.model.type.TypeMirror

public class NoTypeImpl
extends java.lang.Object
implements javax.lang.model.type.NoType, javax.lang.model.type.NullType

An implementation of NoType, which is used to represent certain psuedo-types.

See Also:
NoType

Field Summary
static javax.lang.model.type.NoType NO_TYPE_NONE
           
static javax.lang.model.type.NoType NO_TYPE_PACKAGE
           
static javax.lang.model.type.NoType NO_TYPE_VOID
           
static javax.lang.model.type.NullType NULL_TYPE
           
 
Method Summary
<R,P> R
accept(javax.lang.model.type.TypeVisitor<R,P> v, P p)
           
<A extends java.lang.annotation.Annotation>
A
getAnnotation(java.lang.Class<A> annotationType)
           
 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()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.lang.model.type.TypeMirror
equals, hashCode
 

Field Detail

NO_TYPE_NONE

public static final javax.lang.model.type.NoType NO_TYPE_NONE

NO_TYPE_VOID

public static final javax.lang.model.type.NoType NO_TYPE_VOID

NO_TYPE_PACKAGE

public static final javax.lang.model.type.NoType NO_TYPE_PACKAGE

NULL_TYPE

public static final javax.lang.model.type.NullType NULL_TYPE
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

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)