Open DongChunHao opened 3 months ago
We have found issues that are potential duplicates:
If any of the issues listed above are a duplicate, please consider closing this issue & upvoting/commenting the original one. Alternatively, if neither of the listed issues addresses your feature/bug, keep this issue open.
[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
class OriginalClass { TargetClass c; protected class ProtectedInnerClass { void innerMethod() { // Some logic here } }
public void myMethod() { ProtectedInnerClass inner = new ProtectedInnerClass(); inner.innerMethod(); } } // TargetClass.java class TargetClass {
}
refactoring result: