Class AnnotationUsage


  • public class AnnotationUsage
    extends java.lang.Object
    The type Annotation usage.
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationUsage​(java.lang.String descriptor)
      Instantiates a new Annotation usage.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFieldUsage​(java.lang.String name)
      Add field usage.
      java.lang.String getDescriptor()
      Gets descriptor.
      java.util.List<java.lang.String> getFieldUsages()
      Gets field usages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationUsage

        public AnnotationUsage​(java.lang.String descriptor)
        Instantiates a new Annotation usage.
        Parameters:
        descriptor - the descriptor
    • Method Detail

      • addFieldUsage

        public void addFieldUsage​(java.lang.String name)
        Add field usage.
        Parameters:
        name - the name
      • getDescriptor

        public java.lang.String getDescriptor()
        Gets descriptor.
        Returns:
        the descriptor
      • getFieldUsages

        public java.util.List<java.lang.String> getFieldUsages()
        Gets field usages.
        Returns:
        the field usages