inline parameter: decode context in initializer in case of local variable created as well (IDEA-52171)

This commit is contained in:
anna
2010-02-11 17:56:30 +03:00
parent 20b01ce79e
commit 7c2d78c47c
4 changed files with 42 additions and 0 deletions
@@ -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);
}
}