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:
anna
2010-02-02 16:16:35 +03:00
parent 0cc203b176
commit 41b97a4f75
8 changed files with 132 additions and 10 deletions
@@ -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);
}
}