Example usage for org.aspectj.org.eclipse.jdt.core.dom DeclareErrorDeclaration getMessage

List of usage examples for org.aspectj.org.eclipse.jdt.core.dom DeclareErrorDeclaration getMessage

Introduction

In this page you can find the example usage for org.aspectj.org.eclipse.jdt.core.dom DeclareErrorDeclaration getMessage.

Prototype

public StringLiteral getMessage() 

Source Link

Usage

From source file:ajdtplugin.AjNaiveASTFlattener.java

License:Open Source License

public boolean visit(DeclareErrorDeclaration node) {
    printIndent();/*w  ww  .  jav a  2  s.  c o  m*/

    this.buffer.append("declare error: ");
    node.getPointcut().accept(this);
    this.buffer.append(" : ");
    node.getMessage().accept(this);
    this.buffer.append(" ;\n");
    return false;
}