|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.thoughtworks.xstream.annotations.AnnotationProvider
public class AnnotationProvider
An utility class to provide annotions from different sources
| Constructor Summary | |
|---|---|
AnnotationProvider()
|
|
| Method Summary | ||
|---|---|---|
|
getAnnotation(java.lang.reflect.Field field,
java.lang.Class<T> annotationClass)
Returns a field annotation based on an annotation type |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationProvider()
| Method Detail |
|---|
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.reflect.Field field,
java.lang.Class<T> annotationClass)
field - the annotation FieldannotationClass - the annotation Class
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||