inline: choose top level inner class to control flow (IDEA-57027)

This commit is contained in:
anna
2010-08-03 19:07:01 +04:00
parent a9bb49eb29
commit 12fa2254f7
4 changed files with 53 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
public class In {
void fool() {
final boolean delete = narr();
new Runnable() {
public void run() {
new Runnable() {
public void run() {
if (del<caret>ete) {
}
}
}.run();
}
};
}
boolean narr() {
return false;
}
}