public final class InlineAnnotationReaderImpl extends 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.
|
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandlerpublic static final InlineAnnotationReaderImpl theInstance
public <A extends Annotation> A getClassAnnotation(Class<A> a, TypeElement clazz, Locatable srcPos)
public <A extends Annotation> A getFieldAnnotation(Class<A> a, VariableElement f, 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, Locatable srcPos)
public <A extends Annotation> A getMethodAnnotation(Class<A> a, ExecutableElement method, Locatable srcPos)
public boolean hasMethodAnnotation(Class<? extends Annotation> a, ExecutableElement method)
public Annotation[] getAllMethodAnnotations(ExecutableElement method, Locatable srcPos)
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> a, ExecutableElement m, int paramIndex, Locatable srcPos)
public <A extends Annotation> A getPackageAnnotation(Class<A> a, TypeElement clazz, Locatable srcPos)
public TypeMirror getClassValue(Annotation a, String name)
public TypeMirror[] getClassArrayValue(Annotation a, String name)
protected String fullName(ExecutableElement m)
fullName in class AbstractInlineAnnotationReaderImpl<TypeMirror,TypeElement,VariableElement,ExecutableElement>Copyright © 2017 Oracle Corporation. All rights reserved.