mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
inline: disable for multiline methods inlined in super/this constructor calls (IDEA-96962)
This commit is contained in:
@@ -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.
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user