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

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

Introduction

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

Prototype

public StringLiteral getMessage() 

Source Link

Usage

From source file:ajdtplugin.AjNaiveASTFlattener.java

License:Open Source License

public boolean visit(DeclareWarningDeclaration node) {
    printIndent();/*ww  w . j  ava2  s  .com*/

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