public class JavaRefactoringSettings extends java.lang.Object implements PersistentStateComponent<JavaRefactoringSettings>
Constructor and Description |
---|
JavaRefactoringSettings() |
Modifier and Type | Method and Description |
---|---|
static JavaRefactoringSettings |
getInstance() |
JavaRefactoringSettings |
getState() |
boolean |
isRenameOverloads() |
boolean |
isRenameParameterInHierarchy() |
boolean |
isToRenameInheritors() |
boolean |
isToRenameTests() |
boolean |
isToRenameVariables() |
void |
loadState(JavaRefactoringSettings state)
This method is called when new component state is loaded.
|
void |
setRenameInheritors(boolean RENAME_INHERITORS) |
void |
setRenameOverloads(boolean renameOverloads) |
void |
setRenameParameterInHierarchy(boolean rename) |
void |
setRenameTests(boolean renameTests) |
void |
setRenameVariables(boolean RENAME_VARIABLES) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_PACKAGE
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_CLASS
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_METHOD
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_FIELD
public boolean RENAME_SEARCH_IN_COMMENTS_FOR_VARIABLE
public boolean RENAME_SEARCH_FOR_TEXT_FOR_PACKAGE
public boolean RENAME_SEARCH_FOR_TEXT_FOR_CLASS
public boolean RENAME_SEARCH_FOR_TEXT_FOR_METHOD
public boolean RENAME_SEARCH_FOR_TEXT_FOR_FIELD
public boolean RENAME_SEARCH_FOR_TEXT_FOR_VARIABLE
public boolean ENCAPSULATE_FIELDS_USE_ACCESSORS_WHEN_ACCESSIBLE
public boolean EXTRACT_INTERFACE_PREVIEW_USAGES
@Deprecated public boolean MOVE_PREVIEW_USAGES
public boolean MOVE_SEARCH_IN_COMMENTS
public boolean MOVE_SEARCH_FOR_TEXT
public boolean TYPE_COOK_DROP_CASTS
public boolean TYPE_COOK_PRESERVE_RAW_ARRAYS
public boolean TYPE_COOK_LEAVE_OBJECT_PARAMETERIZED_TYPES_RAW
public boolean TYPE_COOK_EXHAUSTIVE
public boolean TYPE_COOK_COOK_OBJECTS
public boolean TYPE_COOK_PRODUCE_WILDCARDS
public int INTRODUCE_PARAMETER_REPLACE_FIELDS_WITH_GETTERS
public int EXTRACT_INTERFACE_JAVADOC
public int EXTRACT_SUPERCLASS_JAVADOC
public boolean INTRODUCE_PARAMETER_DELETE_LOCAL_VARIABLE
public boolean INTRODUCE_PARAMETER_USE_INITIALIZER
public java.lang.String INTRODUCE_FIELD_VISIBILITY
public int PULL_UP_MEMBERS_JAVADOC
@Deprecated public boolean PUSH_DOWN_PREVIEW_USAGES
public boolean INLINE_METHOD_THIS
public boolean INLINE_SUPER_CLASS_THIS
public boolean INLINE_FIELD_THIS
public boolean INLINE_LOCAL_THIS
public boolean INHERITANCE_TO_DELEGATION_DELEGATE_OTHER
public java.lang.String INTRODUCE_CONSTANT_VISIBILITY
public boolean INTRODUCE_CONSTANT_MOVE_TO_ANOTHER_CLASS
public java.lang.Boolean INTRODUCE_LOCAL_CREATE_FINALS
public java.lang.Boolean INTRODUCE_LOCAL_CREATE_VAR_TYPE
public java.lang.Boolean INTRODUCE_PARAMETER_CREATE_FINALS
public boolean INLINE_CLASS_SEARCH_IN_COMMENTS
public boolean INLINE_CLASS_SEARCH_IN_NON_JAVA
public boolean RENAME_INHERITORS
public boolean RENAME_PARAMETER_IN_HIERARCHY
public boolean RENAME_VARIABLES
public boolean RENAME_TESTS
public boolean RENAME_OVERLOADS
public static JavaRefactoringSettings getInstance()
public boolean isToRenameInheritors()
public boolean isToRenameVariables()
public void setRenameInheritors(boolean RENAME_INHERITORS)
public void setRenameVariables(boolean RENAME_VARIABLES)
public boolean isRenameParameterInHierarchy()
public void setRenameParameterInHierarchy(boolean rename)
public JavaRefactoringSettings getState()
getState
in interface PersistentStateComponent<JavaRefactoringSettings>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(JavaRefactoringSettings state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<JavaRefactoringSettings>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public boolean isToRenameTests()
public void setRenameTests(boolean renameTests)
public void setRenameOverloads(boolean renameOverloads)
public boolean isRenameOverloads()