@Override public boolean canAnalyze(CodeTree codeTree) { int type = codeTree.getCurrentCodeNode().getNode().getType(); return (type == DelphiParser.USES || type == DelphiParser.UNIT || type == DelphiParser.LIBRARY); }
@Override public void doAnalyze(CodeTree codeTree, CodeAnalysisResults results) { analyzeIncludes(codeTree.getCurrentCodeNode().getNode(), results.getActiveUnit()); }