public final class RuntimeInlineAnnotationReader extends AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method> implements RuntimeAnnotationReader
AnnotationReader that uses java.lang.reflect to
read annotations from class files.| Constructor and Description |
|---|
RuntimeInlineAnnotationReader() |
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMethodAnnotation, hasMethodAnnotation, setErrorHandlerpublic <A extends Annotation> A getFieldAnnotation(Class<A> annotation, Field field, Locatable srcPos)
getFieldAnnotation in interface AnnotationReader<Type,Class,Field,Method>public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
hasFieldAnnotation in interface AnnotationReader<Type,Class,Field,Method>public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
hasClassAnnotation in interface AnnotationReader<Type,Class,Field,Method>public Annotation[] getAllFieldAnnotations(Field field, Locatable srcPos)
getAllFieldAnnotations in interface AnnotationReader<Type,Class,Field,Method>public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method method, Locatable srcPos)
getMethodAnnotation in interface AnnotationReader<Type,Class,Field,Method>public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, Method method)
hasMethodAnnotation in interface AnnotationReader<Type,Class,Field,Method>public Annotation[] getAllMethodAnnotations(Method method, Locatable srcPos)
getAllMethodAnnotations in interface AnnotationReader<Type,Class,Field,Method>public <A extends Annotation> A getMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, Locatable srcPos)
getMethodParameterAnnotation in interface AnnotationReader<Type,Class,Field,Method>public <A extends Annotation> A getClassAnnotation(Class<A> a, Class clazz, Locatable srcPos)
getClassAnnotation in interface AnnotationReader<Type,Class,Field,Method>public <A extends Annotation> A getPackageAnnotation(Class<A> a, Class clazz, Locatable srcPos)
getPackageAnnotation in interface AnnotationReader<Type,Class,Field,Method>public Class getClassValue(Annotation a, String name)
getClassValue in interface AnnotationReader<Type,Class,Field,Method>public Class[] getClassArrayValue(Annotation a, String name)
getClassArrayValue in interface AnnotationReader<Type,Class,Field,Method>protected String fullName(Method m)
AbstractInlineAnnotationReaderImplCopyright © 2017 Oracle Corporation. All rights reserved.