public class AnnoxAnnotationReader extends com.sun.xml.bind.v2.model.annotation.AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method> implements com.sun.xml.bind.v2.model.annotation.RuntimeAnnotationReader
Constructor and Description |
---|
AnnoxAnnotationReader() |
AnnoxAnnotationReader(AnnotatedElementFactory annotatedElementFactory) |
Modifier and Type | Method and Description |
---|---|
protected String |
fullName(Method m) |
Annotation[] |
getAllFieldAnnotations(Field field,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
Annotation[] |
getAllMethodAnnotations(Method method,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
protected AnnotatedElement |
getAnnotatedElement(Class theClass) |
protected AnnotatedElement |
getAnnotatedElement(Field field) |
protected ParameterizedAnnotatedElement |
getAnnotatedElement(Method theMethod) |
protected AnnotatedElement |
getAnnotatedElement(Package thePackage) |
AnnotatedElementFactory |
getAnnotatedElementFactory() |
<A extends Annotation> |
getClassAnnotation(Class<A> a,
Class clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
Class[] |
getClassArrayValue(Annotation a,
String name) |
Class |
getClassValue(Annotation a,
String name) |
<A extends Annotation> |
getFieldAnnotation(Class<A> annotation,
Field field,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getMethodAnnotation(Class<A> annotation,
Method method,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getMethodParameterAnnotation(Class<A> annotation,
Method method,
int paramIndex,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getPackageAnnotation(Class<A> a,
Class clazz,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
boolean |
hasClassAnnotation(Class clazz,
Class<? extends Annotation> annotationType) |
boolean |
hasFieldAnnotation(Class<? extends Annotation> annotationType,
Field field) |
boolean |
hasMethodAnnotation(Class<? extends Annotation> annotation,
Method method) |
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandler
public AnnoxAnnotationReader()
public AnnoxAnnotationReader(AnnotatedElementFactory annotatedElementFactory)
public AnnotatedElementFactory getAnnotatedElementFactory()
protected AnnotatedElement getAnnotatedElement(Field field)
protected ParameterizedAnnotatedElement getAnnotatedElement(Method theMethod)
protected AnnotatedElement getAnnotatedElement(Class theClass)
protected AnnotatedElement getAnnotatedElement(Package thePackage)
public <A extends Annotation> A getFieldAnnotation(Class<A> annotation, Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
public Annotation[] getAllFieldAnnotations(Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, Method method)
public Annotation[] getAllMethodAnnotations(Method method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public <A extends Annotation> A getClassAnnotation(Class<A> a, Class clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public Class getClassValue(Annotation a, String name)
public Class[] getClassArrayValue(Annotation a, String name)
Copyright © 2006–2019. All rights reserved.