mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +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:
@@ -0,0 +1,18 @@
|
||||
public class Subject {
|
||||
private int myInt;
|
||||
|
||||
public void wp(int <caret>p) {
|
||||
myInt += p;
|
||||
}
|
||||
}
|
||||
|
||||
class User {
|
||||
public static int ourStatic = 0;
|
||||
public static final int OUR_CONST = 0;
|
||||
|
||||
private void oper() {
|
||||
Subject subj = new Subject();
|
||||
subj.wp(OUR_CONST);
|
||||
subj.wp(ourStatic);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user