public class TransientAnnotationReader 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 |
|---|
TransientAnnotationReader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransientClass(Class<?> cls) |
void |
addTransientField(Field field) |
void |
addTransientMethod(Method method) |
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) |
<A extends Annotation> |
getClassAnnotation(Class<A> annotationType,
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> annotationType,
Field field,
com.sun.xml.bind.v2.model.annotation.Locatable srcPos) |
<A extends Annotation> |
getMethodAnnotation(Class<A> annotationType,
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> annotationType,
Method method) |
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandlerpublic void addTransientClass(Class<?> cls)
public void addTransientField(Field field)
public void addTransientMethod(Method method)
public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
public <A extends Annotation> A getClassAnnotation(Class<A> annotationType, Class clazz, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
public <A extends Annotation> A getFieldAnnotation(Class<A> annotationType, Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public Annotation[] getAllFieldAnnotations(Field field, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
public boolean hasMethodAnnotation(Class<? extends Annotation> annotationType, Method method)
public <A extends Annotation> A getMethodAnnotation(Class<A> annotationType, Method method, com.sun.xml.bind.v2.model.annotation.Locatable srcPos)
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 getPackageAnnotation(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 © 2014. All rights reserved.