Class NormalAnnotation

All Implemented Interfaces:
IExtendedModifier

public final class NormalAnnotation extends Annotation
Normal annotation node (added in JLS3 API).
 NormalAnnotation:
   @ TypeName ( [ MemberValuePair { , MemberValuePair } ] )
 
Since:
3.1
Restriction:
This class is not intended to be instantiated by clients.
  • Field Details

  • Method Details

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameters:
      apiLevel - the API level; one of the AST.JLS* constants
      Returns:
      a list of property descriptors (element type: StructuralPropertyDescriptor)
    • values

      public List values()
      Returns the live list of member value pairs in this annotation. Adding and removing nodes from this list affects this node dynamically. All nodes in this list must be MemberValuePairs; attempts to add any other type of node will trigger an exception.
      Returns:
      the live list of member value pairs in this annotation (element type: MemberValuePair)