List of usage examples for org.aspectj.org.eclipse.jdt.core.dom DeclarePrecedenceDeclaration typePatterns
ASTNode.NodeList typePatterns
To view the source code for org.aspectj.org.eclipse.jdt.core.dom DeclarePrecedenceDeclaration typePatterns.
Click Source Link
From source file:ajdtplugin.AjNaiveASTFlattener.java
License:Open Source License
public boolean visit(DeclarePrecedenceDeclaration node) { printIndent();//from www. j a v a 2 s. c o m this.buffer.append("declare precedence: "); for (Iterator<?> it = node.typePatterns().iterator(); it.hasNext();) { TypePattern typePat = (TypePattern) it.next(); typePat.accept(this); if (it.hasNext()) { this.buffer.append(", "); } } this.buffer.append(";\n"); return false; }