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)
Element
asElement()
<A extends Annotation>
AgetAnnotation(Class<A> annotationType)
List<? extends AnnotationMirror>
getAnnotationMirrors()
<A extends Annotation>
A[]getAnnotationsByType(Class<A> annotationType)
TypeMirror
getEnclosingType()
TypeKind
getKind()
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:
asElement
in interfaceDeclaredType
-
getEnclosingType
public TypeMirror getEnclosingType()
- Specified by:
getEnclosingType
in interfaceDeclaredType
-
getTypeArguments
public List<? extends TypeMirror> getTypeArguments()
- Specified by:
getTypeArguments
in interfaceDeclaredType
-
getKind
public TypeKind getKind()
- Specified by:
getKind
in interfaceTypeMirror
-
accept
public <R,P> R accept(TypeVisitor<R,P> v, P p)
- Specified by:
accept
in interfaceTypeMirror
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annotationType)
- Specified by:
getAnnotation
in interfaceAnnotatedConstruct
-
getAnnotationMirrors
public List<? extends AnnotationMirror> getAnnotationMirrors()
- Specified by:
getAnnotationMirrors
in interfaceAnnotatedConstruct
-
getAnnotationsByType
public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType)
- Specified by:
getAnnotationsByType
in interfaceAnnotatedConstruct
-
-