Class AnnotationProvider
- java.lang.Object
-
- com.thoughtworks.xstream.annotations.AnnotationProvider
-
@Deprecated public class AnnotationProvider extends java.lang.Object
Deprecated.As of 1.3An utility class to provide annotations from different sources
-
-
Constructor Summary
Constructors Constructor Description AnnotationProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T extends java.lang.annotation.Annotation>
TgetAnnotation(java.lang.reflect.Field field, java.lang.Class<T> annotationClass)
Deprecated.As of 1.3
-
-
-
Method Detail
-
getAnnotation
@Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.reflect.Field field, java.lang.Class<T> annotationClass)
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
-
-