Class AnnotatedClassDescriptor

java.lang.Object
org.apache.drill.common.scanner.persistence.AnnotatedClassDescriptor

public final class AnnotatedClassDescriptor extends Object
describe a class that was annotated with one of the configured annotations
  • Constructor Details

  • Method Details

    • getClassName

      public String getClassName()
      Returns:
      the fully qualified name of the annotated class
    • getAnnotations

      public List<AnnotationDescriptor> getAnnotations()
      Returns:
      the class level annotations
    • getFields

      public List<FieldDescriptor> getFields()
      Returns:
      the fields declared by the class
    • getAnnotation

      public AnnotationDescriptor getAnnotation(Class<?> clazz)
      Parameters:
      clazz - the annotation type
      Returns:
      the corresponding annotation descriptor
    • getAnnotationProxy

      public <T> T getAnnotationProxy(Class<T> clazz)
      Parameters:
      clazz - the annotation type
      Returns:
      a bytecode based implementation of the annotation
    • toString

      public String toString()
      Overrides:
      toString in class Object