Example usage for org.aspectj.org.eclipse.jdt.core.dom PointcutDeclaration NAME_PROPERTY

List of usage examples for org.aspectj.org.eclipse.jdt.core.dom PointcutDeclaration NAME_PROPERTY

Introduction

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

Prototype

ChildPropertyDescriptor NAME_PROPERTY

To view the source code for org.aspectj.org.eclipse.jdt.core.dom PointcutDeclaration NAME_PROPERTY.

Click Source Link

Usage

From source file:org.eclipse.ajdt.core.dom.rewrite.AjASTRewriteAnalyzer.java

License:Open Source License

public boolean visit(PointcutDeclaration node) {
    // ajh02: method added
    if (!hasChildrenChanges(node)) {
        return doVisitUnchangedChildren(node);
    }/*from  w w w . j  a  va  2s  . c o  m*/
    int pos = rewriteJavadoc(node, PointcutDeclaration.JAVADOC_PROPERTY);
    if (node.getAST().apiLevel() == JLS2_INTERNAL) {
        rewriteModifiers(node, PointcutDeclaration.MODIFIERS_PROPERTY, pos);
    } else {
        pos = rewriteModifiers2(node, PointcutDeclaration.MODIFIERS2_PROPERTY, pos);
    }
    // pointcut name
    pos = rewriteRequiredNode(node, PointcutDeclaration.NAME_PROPERTY);
    return false;
}