List of usage examples for org.eclipse.jdt.core.dom MethodRefParameter 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 MethodRefParameter asMethodRefParameter(IStrategoTerm term) { MethodRefParameter x = ((WrappedMethodRefParameter) term).getWrappee(); return x.getParent() == null && x.getAST() == ast ? x : (MethodRefParameter) ASTNode.copySubtree(ast, x); }