public final class InlineAnnotationReaderImpl extends com.sun.xml.bind.v2.model.annotation.AbstractInlineAnnotationReaderImpl<TypeMirror,TypeElement,VariableElement,ExecutableElement>
AnnotationReader implementation that reads annotation inline from Annoation Processing.| Modifier and Type | Field and Description |
|---|---|
static InlineAnnotationReaderImpl |
theInstance
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
fullName(ExecutableElement m) |
Annotation[] |
getAllFieldAnnotations(VariableElement field,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
Annotation[] |
getAllMethodAnnotations(ExecutableElement method,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getClassAnnotation(Class<A> a,
TypeElement clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
TypeMirror[] |
getClassArrayValue(Annotation a,
String name) |
TypeMirror |
getClassValue(Annotation a,
String name) |
<A extends Annotation> |
getFieldAnnotation(Class<A> a,
VariableElement f,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getMethodAnnotation(Class<A> a,
ExecutableElement method,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getMethodParameterAnnotation(Class<A> a,
ExecutableElement m,
int paramIndex,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getPackageAnnotation(Class<A> a,
TypeElement clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
boolean |
hasClassAnnotation(TypeElement clazz,
Class<? extends Annotation> annotationType) |
boolean |
hasFieldAnnotation(Class<? extends Annotation> annotationType,
VariableElement f) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> a,
ExecutableElement method) |
public static final InlineAnnotationReaderImpl theInstance
public <A extends Annotation> A getClassAnnotation(Class<A> a, TypeElement clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getFieldAnnotation(Class<A> a, VariableElement f, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, VariableElement f)
public boolean hasClassAnnotation(TypeElement clazz, Class<? extends Annotation> annotationType)
public Annotation[] getAllFieldAnnotations(VariableElement field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodAnnotation(Class<A> a, ExecutableElement method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasMethodAnnotation(Class<? extends Annotation> a, ExecutableElement method)
public Annotation[] getAllMethodAnnotations(ExecutableElement method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> a, ExecutableElement m, int paramIndex, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getPackageAnnotation(Class<A> a, TypeElement clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public TypeMirror getClassValue(Annotation a, String name)
public TypeMirror[] getClassArrayValue(Annotation a, String name)
protected String fullName(ExecutableElement m)
fullName in class com.sun.xml.bind.v2.model.annotation.AbstractInlineAnnotationReaderImpl<TypeMirror,TypeElement,VariableElement,ExecutableElement>Copyright © 2015 Oracle Corporation. All Rights Reserved.