[java] adds support for Java 9's improved try-with-resources (IDEA-140266)

PSI, parser, highlighting, exception analysis, control flow, completion.
This commit is contained in:
Roman Shevchenko
2015-07-22 16:28:39 +02:00
parent 6296977fea
commit f7f0a5c0c4
33 changed files with 491 additions and 86 deletions
@@ -0,0 +1,8 @@
class MyClass {
void f() {
String response;
AutoCloseable resource;
try (re<caret>) {
}
}
}
@@ -0,0 +1,8 @@
class MyClass {
void f() {
String response;
AutoCloseable resource;
try (resource<caret>) {
}
}
}