IDEA-126032 Java basic completion: prefer annotations instead of 'interface' keyword

This commit is contained in:
peter
2014-06-13 15:40:20 +02:00
parent a56d476bf8
commit 41d5427cfe
3 changed files with 12 additions and 0 deletions
@@ -0,0 +1,4 @@
class A {
@<caret>
void foo(){}
}
@@ -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)