Klasse DeclareErrorDeclaration


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

      public PointcutDesignator getPointcut()
    • setPointcut

      public void setPointcut(PointcutDesignator pointcut)
    • getMessage

      public StringLiteral getMessage()
    • setMessage

      public void setMessage(StringLiteral message)