public final class ReplaceConstructorWithFactoryRefactoring extends AbstractRefactoring
INIT, PARAMETERS_CHECK, PRE_CHECK, PREPARE
Constructor and Description |
---|
ReplaceConstructorWithFactoryRefactoring(TreePathHandle constructor)
Constructor accepts only TreePathHandles representing constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFactoryName()
Name of created factory method.
|
void |
setFactoryName(String factoryName)
Setter for factory method
|
addProgressListener, cancelRequest, checkParameters, fastCheckParameters, getContext, getRefactoringSource, preCheck, prepare, removeProgressListener
public ReplaceConstructorWithFactoryRefactoring(@NonNull TreePathHandle constructor)
constructor
-