/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } } /*
/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } } /*
/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } } /*
/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ @Override public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } }
/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } } /*
/** * Returns the <code>ASTNode</code> that corresponds to this <code>JavaElement</code> * or <code>null</code> if there is no corresponding node. */ public ASTNode findNode(CompilationUnit ast) { DOMFinder finder = new DOMFinder(ast, this, false); try { return finder.search(); } catch (JavaModelException e) { // receiver doesn't exist return null; } } /*