Klasse MarkerAnnotation

Alle implementierten Schnittstellen:
IExtendedModifier

public final class MarkerAnnotation extends Annotation
Marker annotation node (added in JLS3 API). The marker annotation "@foo" is equivalent to the normal annotation "@foo()".
 MarkerAnnotation:
   @ TypeName
 
Seit:
3.1
  • Felddetails

    • TYPE_NAME_PROPERTY

      public static final ChildPropertyDescriptor TYPE_NAME_PROPERTY
      The "typeName" structural property of this node type (child type: Name).
  • 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)