Klasse AspectDeclaration


public class AspectDeclaration extends AjTypeDeclaration
AspectDeclaration DOM AST node. Has everything an AjTypeDeclaration has plus: an ASTNode called 'perClause' a boolean called 'privileged'
Autor:
ajh02
  • Felddetails

    • PERCLAUSE_PROPERTY

      public static final ChildPropertyDescriptor PERCLAUSE_PROPERTY
    • PRIVILEGED_PROPERTY

      public static final SimplePropertyDescriptor PRIVILEGED_PROPERTY
    • aspectPROPERTY_DESCRIPTORS_2_0

      protected static List aspectPROPERTY_DESCRIPTORS_2_0
    • aspectPROPERTY_DESCRIPTORS_3_0

      protected static List aspectPROPERTY_DESCRIPTORS_3_0
    • perClause

      protected ASTNode perClause
  • 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)
      Seit:
      3.0
    • getPerClause

      public ASTNode getPerClause()
    • setPerClause

      public void setPerClause(ASTNode perClause)
    • isPrivileged

      public boolean isPrivileged()
      Returns whether this aspect is a privileged one.
      Gibt zurück:
      true if this is a privileged aspect declaration, and false otherwise.
    • setPrivileged

      public void setPrivileged(boolean isPrivileged)
      Sets whether this aspect is a privileged one
      Parameter:
      isPrivileged - true if this is a privileged aspect declaration, and false otherwise.
    • getAdvice

      public List getAdvice()