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

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

Introduction

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

Prototype

public PointcutDesignator getPointcut() 

Source Link

Usage

From source file:ajdtplugin.AjNaiveASTFlattener.java

License:Open Source License

public boolean visit(DeclareErrorDeclaration node) {
    printIndent();// w  w w .  j a v a  2s  . c  om

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