mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-05 04:40:28 +07:00
Basic test for method extract: IDEA-CR-53127
GitOrigin-RevId: 3c41530c54d0d26076f65bc38f23993b82e7f56f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
368eaa7581
commit
eac8432bb6
@@ -0,0 +1,27 @@
|
||||
// "Extract method" "false"
|
||||
|
||||
class Main {
|
||||
static boolean test() {
|
||||
throw new RuntimeException();
|
||||
}
|
||||
|
||||
private void notExtractable() {
|
||||
while (true) {
|
||||
<selection>if (test()) {
|
||||
System.out.println("ads");
|
||||
break;
|
||||
} else {
|
||||
System.out.println("Asd");
|
||||
if (test()) {
|
||||
return;
|
||||
}
|
||||
System.out.println("ASdasd");
|
||||
</selection>
|
||||
}
|
||||
somethingElse();
|
||||
}
|
||||
}
|
||||
|
||||
private static void somethingElse() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user