mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
inline parameter: decode context in initializer in case of local variable created as well (IDEA-52171)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
public class StaticRefMove {
|
||||
public static int init() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public void context() {
|
||||
StaticRefMoveSubject v = new StaticRefMoveSubject();
|
||||
v.subject(init());
|
||||
}
|
||||
}
|
||||
|
||||
class StaticRefMoveSubject {
|
||||
public void subject(int <caret>subj) {
|
||||
System.out.println(subj);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user