private SimilarElement[] process(ICompilationUnit cu, int pos) throws JavaModelException { try { cu.codeComplete(pos, this); processKeywords(); return fResult.toArray(new SimilarElement[fResult.size()]); } finally { fResult.clear(); } }
private SimilarElement[] process(ICompilationUnit cu, int pos) throws JavaModelException { try { cu.codeComplete(pos, this); processKeywords(); return fResult.toArray(new SimilarElement[fResult.size()]); } finally { fResult.clear(); } }
private SimilarElement[] process(ICompilationUnit cu, int pos) throws JavaModelException { try { cu.codeComplete(pos, this); processKeywords(); return (SimilarElement[]) fResult.toArray(new SimilarElement[fResult.size()]); } finally { fResult.clear(); } }