Package com.sun.tools.jxc.ap
Class InlineAnnotationReaderImpl
java.lang.Object
org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl<TypeMirror,TypeElement,VariableElement,ExecutableElement>
com.sun.tools.jxc.ap.InlineAnnotationReaderImpl
- All Implemented Interfaces:
AnnotationReader<TypeMirror,
TypeElement, VariableElement, ExecutableElement>
public final class InlineAnnotationReaderImpl
extends AbstractInlineAnnotationReaderImpl<TypeMirror,TypeElement,VariableElement,ExecutableElement>
AnnotationReader
implementation that reads annotation inline from Annoation Processing.- Author:
- Kohsuke Kawaguchi ([email protected])
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getAllFieldAnnotations
(VariableElement field, Locatable srcPos) getAllMethodAnnotations
(ExecutableElement method, Locatable srcPos) <A extends Annotation>
AgetClassAnnotation
(Class<A> a, TypeElement clazz, Locatable srcPos) getClassArrayValue
(Annotation a, String name) getClassValue
(Annotation a, String name) <A extends Annotation>
AgetFieldAnnotation
(Class<A> a, VariableElement f, Locatable srcPos) <A extends Annotation>
AgetMethodAnnotation
(Class<A> a, ExecutableElement method, Locatable srcPos) <A extends Annotation>
AgetMethodParameterAnnotation
(Class<A> a, ExecutableElement m, int paramIndex, Locatable srcPos) <A extends Annotation>
AgetPackageAnnotation
(Class<A> a, TypeElement clazz, 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) Methods inherited from class org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandler
-
Field Details
-
theInstance
The singleton instance.
-
-
Method Details
-
getClassAnnotation
-
getFieldAnnotation
-
hasFieldAnnotation
-
hasClassAnnotation
-
getAllFieldAnnotations
-
getMethodAnnotation
public <A extends Annotation> A getMethodAnnotation(Class<A> a, ExecutableElement method, Locatable srcPos) -
hasMethodAnnotation
-
getAllMethodAnnotations
-
getMethodParameterAnnotation
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> a, ExecutableElement m, int paramIndex, Locatable srcPos) -
getPackageAnnotation
public <A extends Annotation> A getPackageAnnotation(Class<A> a, TypeElement clazz, Locatable srcPos) -
getClassValue
-
getClassArrayValue
-
fullName
- Specified by:
fullName
in classAbstractInlineAnnotationReaderImpl<TypeMirror,
TypeElement, VariableElement, ExecutableElement>
-