Class AnnotationProvider
java.lang.Object
com.thoughtworks.xstream.annotations.AnnotationProvider
Deprecated.
As of 1.3
An utility class to provide annotations from different sources
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation
(Field field, Class<T> annotationClass) Deprecated.As of 1.3
-
Constructor Details
-
AnnotationProvider
public AnnotationProvider()Deprecated.
-
-
Method Details
-
getAnnotation
Deprecated.As of 1.3Returns a field annotation based on an annotation type- Parameters:
field
- the annotation FieldannotationClass
- the annotation Class- Returns:
- The Annotation type
-