String getFileCommentContent(Element e) { if (e == null || result.config.limitComments) return null; String f = Element.getFileOfAscendency(e); if (f == null && e != null && e.getElementLine() >= 0) return "<i>native declaration : line " + e.getElementLine() + "</i>"; return f == null ? null : getFileCommentContent(new File(f), e); }
public boolean accept(Element value) { String s = Element.getFileOfAscendency(value); if (s == null) return false; File f = new File(s); try { f = f.getCanonicalFile(); } catch (IOException e) { e.printStackTrace(); } return libraryByFile.containsKey(f); }