This document lists changes made to the Java Refactoring API.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated APIs continue to essentially work. For a full deprecation list, please consult the Javadoc.
These API specification versions may be used to indicate that a module requires a certain API feature in order to function. For example, if you see here a feature you need which is labelled 1.20, your manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: $codebase > 1.20
org.netbeans.modules.refactoring.java.api.ChangeParametersRefactoring
org.netbeans.modules.refactoring.java.api.EncapsulateFieldRefactoring
org.netbeans.modules.refactoring.java.api.IntroduceLocalExtensionRefactoring
org.netbeans.modules.refactoring.java.api.IntroduceParameterRefactoring
org.netbeans.modules.refactoring.java.api.InvertBooleanRefactoring
org.netbeans.modules.refactoring.java.spi.ui.JavaActionsImplementationProvider
org.netbeans.modules.refactoring.java.api.JavaMoveMembersProperties
org.netbeans.modules.refactoring.java.api.ui.JavaScopeBuilder
org.netbeans.modules.refactoring.java.spi.JavaWhereUsedFilters
org.netbeans.modules.refactoring.java.spi.RefactoringVisitor
org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithBuilderRefactoring
org.netbeans.modules.refactoring.java.api.ReplaceConstructorWithFactoryRefactoring
org.netbeans.modules.refactoring.java.api.WhereUsedQueryConstants
JavaWhereUsedFilters
; made by: ralphbenjamin; issues:
#252994
To support filtering of results from dependencies, the constants BINARYFILE, DEPENDENCY and PLATFORM are added to the enum JavaWhereUsedFilters.
JavaWhereUsedFilters
; made by: ralphbenjamin; issues:
#248250
To support filtering the opposite of test sources, the constant SOURCEFILE is added to the enum JavaWhereUsedFilters.
RefactoringVisitor
; made by: ralphbenjamin; issues:
#999999
The RefactoringVisitor now implements DocTreeVisitor<DocTree, Element>.
WhereUsedQueryConstants
; made by: ralphbenjamin; issues:
#216534
Added new constant to WhereUsedQueryConstants to search for usages of overloaded methods.
JavaWhereUsedFilters
; made by: ralphbenjamin; issues:
#215361
Added an enumeration with keys to identify different filters used by Java Refactoring's Find Usages.
ReplaceConstructorWithFactoryRefactoring
ReplaceConstructorWithBuilderRefactoring
InvertBooleanRefactoring
; made by: jbecicka; issues:
#208240
New refactorings on board: ReplaceConstructorWithFactoryRefactoring, ReplaceConstructorWithBuilderRefactoring and InvertBooleanRefactoring.
IntroduceLocalExtensionRefactoring
JavaActionsImplementationProvider
; made by: ralphbenjamin; issues:
#208164
Added support for Introduce Local Extension Refactoring.
EncapsulateFieldRefactoring
; made by: jbecicka; issues:
#205996
Added option to generate PropertyChangeSupport in EncapsulateFieldRefactoring.
JavaMoveMembersProperties
; made by: ralphbenjamin; issues:
#205696
Add an api for the Java Move Members Properties.
IntroduceParameterRefactoring
ChangeParametersRefactoring
; made by: ralphbenjamin; issues:
#201399
Add an api for the introduce parameter refactoring. Also changed the Change Paramters refactoring to support the creation of compatible overloaded methods.
JavaScopeBuilder
; made by: ralphbenjamin; issues:
#200572
UI support for creating a new Scope. Opens a dialog to select different parts of open projects to include in the new scope.
ChangeParametersRefactoring
; made by: ralphbenjamin; issues:
#200232
The Change Method Parameters refactoring should be changed to allow changing the method signature. The api needs to store the new name for the method, if the method needs to be renamed, and it needs to store the new return type, if the return type needs to be changed.