mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 15:15:45 +07:00
always suggest non-imported annotations (IDEA-145447)
This commit is contained in:
+7
@@ -1155,6 +1155,13 @@ class XInternalError {}
|
||||
assertFirstStringItems "XInternalError", "XInternalTimerServiceController"
|
||||
}
|
||||
|
||||
public void testNonImportedAnnotationClass() {
|
||||
myFixture.addClass("package foo; public @interface XAnotherAnno {}")
|
||||
configure()
|
||||
type('X')
|
||||
assertFirstStringItems "XAnno", "XAnotherAnno"
|
||||
}
|
||||
|
||||
public void testMetaAnnotation() {
|
||||
myFixture.configureByText "a.java", "@<caret> @interface Anno {}"
|
||||
myFixture.complete(CompletionType.BASIC)
|
||||
|
||||
Reference in New Issue
Block a user