mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
IDEA-178377 No "final" completion suggestion in catch declaration
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
public class X {
|
||||
{
|
||||
try {
|
||||
|
||||
} catch (<caret> AssertionError error) {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class Util {
|
||||
void foo() {
|
||||
try (<caret> Type var = val)
|
||||
}
|
||||
}
|
||||
+2
@@ -139,7 +139,9 @@ public class KeywordCompletionTest extends LightCompletionTestCase {
|
||||
public void testNoCaseInsideWhileInSwitch() { doTest(0, "case", "default"); }
|
||||
public void testFinalInCatch() { doTest(1, "final"); }
|
||||
public void testFinalInIncompleteCatch() { doTest(1, "final"); }
|
||||
public void testFinalInCompleteCatch() { doTest(1, "final"); }
|
||||
public void testFinalInTryWithResources() { doTest(1, "final", "float", "class"); }
|
||||
public void testFinalInCompleteTryWithResources() { doTest(1, "final", "float", "class"); }
|
||||
public void testFinalInLambda() { doTest(2, "final", "float"); }
|
||||
public void testNoFinalAfterTryBody() { doTest(1, "final", "finally"); }
|
||||
public void testClassInMethod() { doTest(2, "class", "char"); }
|
||||
|
||||
Reference in New Issue
Block a user