mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[uast visitor] optimization: convert to uast only while in qualified reference
otherwise we might have converted the whole file in the hope to find import statement GitOrigin-RevId: e1d8d94b190e720509723ac8c082f0cc997c112a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
864058a822
commit
b6f1aecde2
@@ -66,6 +66,7 @@ class JavaJavaApiUsageInspectionTest : JavaApiUsageInspectionTestBase() {
|
||||
fun `test annotation`() {
|
||||
myFixture.setLanguageLevel(LanguageLevel.JDK_1_6)
|
||||
myFixture.testHighlighting(JvmLanguage.JAVA, """
|
||||
import java.lang.SafeVarargs;
|
||||
class Annotation {
|
||||
@<error descr="Usage of API documented as @since 1.7+">SafeVarargs</error>
|
||||
public final void a(java.util.List<String>... ls) {}
|
||||
|
||||
Reference in New Issue
Block a user