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