don't report groovy type parameters as unused
[idea/community.git] / plugins / groovy / src / org / jetbrains / plugins / groovy / codeInspection / local / GroovyPostHighlightingPass.java
index 46b37bb78a8d547bb990860dd6d16a3ea041f454..85ebd3864b35b69f63e1cf1fc28485c3ec2353ab 100644 (file)
@@ -87,7 +87,7 @@ public class GroovyPostHighlightingPass extends TextEditorHighlightingPass {
     }
     final UnusedDeclarationInspection deadCodeInspection = (UnusedDeclarationInspection)profile.getInspectionTool(UnusedDeclarationInspection.SHORT_NAME, myFile);
     final GlobalUsageHelper usageHelper = new GlobalUsageHelper() {
-      public boolean shouldIgnoreUsagesInCurrentFile() {
+      public boolean isCurrentFileAlreadyChecked() {
         return false;
       }