Klasse NormalAnnotation

Alle implementierten Schnittstellen:
IExtendedModifier

public final class NormalAnnotation extends Annotation
Normal annotation node (added in JLS3 API).
 NormalAnnotation:
   @ TypeName ( [ MemberValuePair { , MemberValuePair } ] )
 
Seit:
3.1
  • Felddetails

  • Methodendetails

    • propertyDescriptors

      public static List propertyDescriptors(int apiLevel)
      Returns a list of structural property descriptors for this node type. Clients must not modify the result.
      Parameter:
      apiLevel - the API level; one of the AST.JLS* constants
      Gibt zurück:
      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.
      Gibt zurück:
      the live list of member value pairs in this annotation (element type: MemberValuePair)