Project: JDT
Bug 68983 Refactor menu not available on binary types [refactoring]
Reported: 2004-06-30 07:13:09 | Status: resolved fixed

It seems to be impossible to use refactoring features on a Type whose source is not in the project/workspace. For example, I would like to replace all instances of ArrayList by List where it is possible (using the "Use Supertype Where Possible" refactor feature, but it does not appear to be possible since there is no refactor menu on binary only Types. This lessens significantly the benefits of this refactoring feature.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeProcessor.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java