inline: disable for multiline methods inlined in super/this constructor calls (IDEA-96962)

This commit is contained in:
anna
2012-12-10 12:56:06 +01:00
parent e9a5107186
commit f6e0f4bd7a
4 changed files with 57 additions and 2 deletions
@@ -0,0 +1,22 @@
class BBB {
public BBB(String x) {
}
void foo(String s) {}
}
class AAA extends BBB {
public AAA(String x) {
super(test(x));
}
private static String t<caret>est(String x) {
String y = x.trim();
return y.length() > 0 ? y : "aaaa";
}
@Override
void foo(String s) {
super.foo(test(s)); //To change body of overridden methods use File | Settings | File Templates.
}
}