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