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

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

Introduction

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

Prototype

public PointcutDesignator getPointcut() 

Source Link

Usage

From source file:ajdtplugin.AjNaiveASTFlattener.java

License:Open Source License

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

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