/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
/** * Returns the cached source for this element or compute it if not already cached. */ private String getSourceFor(IJavaElement element) throws JavaModelException { String source = (String) this.sources.get(element); if (source == null && element instanceof IMember) { source = ((IMember)element).getSource(); this.sources.put(element, source); } return source; } /**
cunit.reconcile(ICompilationUnit.NO_AST, false, false, null, null); fParser.setSource(member.getSource().toCharArray()); fParser.setKind(ASTParser.K_CLASS_BODY_DECLARATIONS); Map options = element.getJavaProject().getOptions(true);
cunit.reconcile(ICompilationUnit.NO_AST, false, false, null, null); fParser.setSource(member.getSource().toCharArray()); fParser.setKind(ASTParser.K_CLASS_BODY_DECLARATIONS); Map<String, String> options = element.getJavaProject().getOptions(true);