inline parameter: make it public; allow to inline refs to the same non final fields...
[fedora-idea.git] / java / java-tests / testData / refactoring / inlineParameter / Ref2ConstantsWithTheSameValue.java
blob1893d8c697ab252c125991896701997c828effdd
1 public class Subject {
2 private int myInt;
4 public void wp(int <caret>p) {
5 myInt += p;
9 class User {
10 public static final int OUR_CONST = 2;
11 public static final int OUR_CONST2 = 2;
13 private void oper() {
14 Subject subj = new Subject();
15 subj.wp(OUR_CONST);
16 subj.wp(OUR_CONST2);