Package org.revapi.java.model
Class MissingTypeElement.ErrorType
- java.lang.Object
-
- org.revapi.java.model.MissingTypeElement.ErrorType
-
- All Implemented Interfaces:
AnnotatedConstruct,DeclaredType,ErrorType,ReferenceType,TypeMirror
- Enclosing class:
- MissingTypeElement
public final class MissingTypeElement.ErrorType extends Object implements ErrorType
-
-
Constructor Summary
Constructors Constructor Description ErrorType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(TypeVisitor<R,P> v, P p)ElementasElement()<A extends Annotation>
AgetAnnotation(Class<A> annotationType)List<? extends AnnotationMirror>getAnnotationMirrors()<A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType)TypeMirrorgetEnclosingType()TypeKindgetKind()List<? extends TypeMirror>getTypeArguments()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.lang.model.type.TypeMirror
equals, hashCode, toString
-
-
-
-
Method Detail
-
asElement
public Element asElement()
- Specified by:
asElementin interfaceDeclaredType
-
getEnclosingType
public TypeMirror getEnclosingType()
- Specified by:
getEnclosingTypein interfaceDeclaredType
-
getTypeArguments
public List<? extends TypeMirror> getTypeArguments()
- Specified by:
getTypeArgumentsin interfaceDeclaredType
-
getKind
public TypeKind getKind()
- Specified by:
getKindin interfaceTypeMirror
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
acceptin interfaceTypeMirror
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
- Specified by:
getAnnotationin interfaceAnnotatedConstruct
-
getAnnotationMirrors
public List<? extends AnnotationMirror> getAnnotationMirrors()
- Specified by:
getAnnotationMirrorsin interfaceAnnotatedConstruct
-
getAnnotationsByType
public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
- Specified by:
getAnnotationsByTypein interfaceAnnotatedConstruct
-
-