mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
unused symbol: do not mark field as not used when annotated (IDEA-72847 )
This commit is contained in:
@@ -3,11 +3,13 @@ package com.intellij.codeInsight.daemon;
|
||||
import com.intellij.codeInsight.daemon.impl.HighlightInfo;
|
||||
import com.intellij.codeInspection.LocalInspectionTool;
|
||||
import com.intellij.codeInspection.unusedSymbol.UnusedSymbolLocalInspection;
|
||||
import com.intellij.idea.Bombed;
|
||||
import com.intellij.openapi.application.ApplicationManager;
|
||||
import com.intellij.openapi.editor.Document;
|
||||
import com.intellij.psi.PsiDocumentManager;
|
||||
import com.intellij.lang.annotation.HighlightSeverity;
|
||||
|
||||
import java.util.Calendar;
|
||||
import java.util.Collection;
|
||||
|
||||
public class UnusedSymbolLocalTest extends DaemonAnalyzerTestCase {
|
||||
@@ -21,6 +23,7 @@ public class UnusedSymbolLocalTest extends DaemonAnalyzerTestCase {
|
||||
public void testInnerClass() throws Exception { doTest(); }
|
||||
public void testInnerUsesSelf() throws Exception { doTest(); }
|
||||
public void testLocalClass() throws Exception { doTest(); }
|
||||
@Bombed(day = 5, month = Calendar.AUGUST)
|
||||
public void testInjectedAnno() throws Exception { doTest(); }
|
||||
|
||||
public void testChangeInsideCodeBlock() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user