List of usage examples for org.aspectj.asm.internal ProgramElement getAccessibility
public Accessibility getAccessibility()
From source file:org.caesarj.compiler.asm.StructureModelDump.java
License:Open Source License
/** * Print the node and advance the depth//from ww w. java 2 s. c o m */ public void preProcess(IProgramElement node) { // Print the ident for (int i = 0; i < depth; i++) { out.print(".."); } depth++; // Print the node if (node instanceof LinkNode) { LinkNode linkNode = (LinkNode) node; this.out.print(" ->> "); printNodeHeader(this.out, linkNode); this.out.println(); } else if (node instanceof CaesarProgramElement) { ProgramElement peNode = (CaesarProgramElement) node; printNodeHeader(this.out, node); this.out.print(" {" + peNode.getHandleIdentifier() + "}"); this.out.println(); } else if (node instanceof ProgramElement) { ProgramElement peNode = (ProgramElement) node; printNodeHeader(this.out, node); this.out.print(" '" + peNode.getBytecodeName() + "' '" + peNode.getBytecodeSignature() //$NON-NLS-1$//$NON-NLS-2$ + peNode.getAccessibility() + "'"); //$NON-NLS-1$ this.out.println(); /* List relations = peNode.getRelations(); if (relations.size() > 0) { for (Iterator it = relations.iterator(); it.hasNext();) { print(indentArg + "++", (IProgramElement) it.next()); } }*/ } else { this.out.println(); } }