mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
16 lines
424 B
Java
16 lines
424 B
Java
// "Add 'catch' clause(s)" "true-preview"
|
|
import org.intellij.lang.annotations.Language;
|
|
|
|
class X {
|
|
@Language("JAVA") String java = """
|
|
class Cls {
|
|
{
|
|
try {
|
|
} catch (Exception e) {
|
|
<selection><caret>throw new RuntimeException(e);</selection>
|
|
}
|
|
}
|
|
}
|
|
""";
|
|
|
|
} |