mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-126032 Java basic completion: prefer annotations instead of 'interface' keyword
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
class A {
|
||||
@<caret>
|
||||
void foo(){}
|
||||
}
|
||||
+4
@@ -633,6 +633,10 @@ interface TxANotAnno {}
|
||||
checkPreferredItems 0, 'fact'
|
||||
}
|
||||
|
||||
public void testPreferAnnotationsToInterfaceKeyword() {
|
||||
checkPreferredItems 0, 'Deprecated', 'Override'
|
||||
}
|
||||
|
||||
public void testGlobalStaticMemberStats() {
|
||||
configureNoCompletion(getTestName(false) + ".java")
|
||||
myFixture.complete(CompletionType.BASIC, 2)
|
||||
|
||||
Reference in New Issue
Block a user