mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline parameter: make it public; allow to inline refs to the same non final fields; allow to inline different constants with the same value (IDEA-40700)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
public class Subject {
|
||||
private int myInt;
|
||||
private int t;
|
||||
|
||||
public void wp(int <caret>p) {
|
||||
myInt += p;
|
||||
}
|
||||
|
||||
void foo(Subject s) {
|
||||
wp(s.t);
|
||||
wp(t);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user