List of usage examples for org.eclipse.jdt.core.dom CatchClause getParent
public final ASTNode getParent()
null
if this is the root node. From source file:org.spoofax.interpreter.adapter.ecj.ECJFactory.java
License:LGPL
private CatchClause asCatchClause(IStrategoTerm term) { CatchClause x = ((WrappedCatchClause) term).getWrappee(); return x.getParent() == null && x.getAST() == ast ? x : (CatchClause) ASTNode.copySubtree(ast, x); }