Class AnnotationProvider

java.lang.Object
com.thoughtworks.xstream.annotations.AnnotationProvider

@Deprecated public class AnnotationProvider extends Object
Deprecated.
As of 1.3
An utility class to provide annotations from different sources
  • Constructor Details

    • AnnotationProvider

      public AnnotationProvider()
      Deprecated.
  • Method Details

    • getAnnotation

      @Deprecated public <T extends Annotation> T getAnnotation(Field field, Class<T> annotationClass)
      Deprecated.
      As of 1.3
      Returns a field annotation based on an annotation type
      Parameters:
      field - the annotation Field
      annotationClass - the annotation Class
      Returns:
      The Annotation type