Open
Description
[provide a description of the issue]
Environment
Operating System: Windows11
JDK version: 17
Visual Studio Code version: 1.88
Java extension version: 1.29
Steps To Reproduce
- select "dependentMethod()"
- click “Refacator-Move method”
class SourceClass {
private int value;
TargetClass c;
public void setValue(int value) {
this.value = value;
}
public void dependentMethod() {
System.out.println("Dependent method: " + value);
}
}
class TargetClass {
public void callDependentMethod() {
SourceClass source = new SourceClass();
source.dependentMethod();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment