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

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

Introduction

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

Prototype

public PointcutDesignator getPointcut() 

Source Link

Usage

From source file:ajdtplugin.AjNaiveASTFlattener.java

License:Open Source License

public boolean visit(DeclareWarningDeclaration node) {
    printIndent();/*from ww  w .  j  a v a 2  s . com*/

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