Klasse PointcutDeclaration


public class PointcutDeclaration extends BodyDeclaration
PointcutDeclaration DOM AST node. has: a name an optional pointcut designator called 'designator' a SingleVariableDeclaration list called 'parameters' javadoc modifiers note: should also have a property for its parameter list, like the one MethodDeclarations have.
Autor:
ajh02
  • Felddetails

    • NAME_PROPERTY

      public static final ChildPropertyDescriptor NAME_PROPERTY
    • DESIGNATOR_PROPERTY

      public static final ChildPropertyDescriptor DESIGNATOR_PROPERTY
    • PARAMETERS_PROPERTY

      public static final ChildListPropertyDescriptor PARAMETERS_PROPERTY
      The "parameters" structural property of this node type.
    • JAVADOC_PROPERTY

      public static final ChildPropertyDescriptor JAVADOC_PROPERTY
      The "javadoc" structural property of this node type.
      Seit:
      3.0
    • MODIFIERS_PROPERTY

      public static final SimplePropertyDescriptor MODIFIERS_PROPERTY
      The "modifiers" structural property of this node type (JLS2 API only).
      Seit:
      3.0
    • MODIFIERS2_PROPERTY

      public static final ChildListPropertyDescriptor MODIFIERS2_PROPERTY
      The "modifiers" structural property of this node type (added in JLS3 API).
      Seit:
      3.1
    • parameters

      protected org.aspectj.org.eclipse.jdt.core.dom.ASTNode.NodeList parameters
  • Methodendetails

    • getDesignator

      public PointcutDesignator getDesignator()
    • setDesignator

      public void setDesignator(PointcutDesignator pointcutDesignator)
    • getName

      public SimpleName getName()
    • setName

      public void setName(SimpleName pointcutName)
    • 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
    • parameters

      public List parameters()
      Returns the live ordered list of method parameter declarations for this method declaration.
      Gibt zurück:
      the live list of method parameter declarations (element type: SingleVariableDeclaration)