Class DeclareErrorDeclaration


public class DeclareErrorDeclaration extends DeclareDeclaration
DeclareErrorDeclaration DOM AST node. Has everything a DeclareDeclaration has plus: a PointcutDesignator called 'pointcut' a StringLiteral called 'message'
  • 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)
      Since:
      3.0
    • getPointcut

      public PointcutDesignator getPointcut()
    • setPointcut

      public void setPointcut(PointcutDesignator pointcut)
    • getMessage

      public StringLiteral getMessage()
    • setMessage

      public void setMessage(StringLiteral message)