public static class BaseExpressionToFieldHandler.Settings
extends java.lang.Object
Constructor and Description |
---|
Settings(java.lang.String fieldName,
PsiExpression selectedExpr,
PsiExpression[] occurrences,
boolean replaceAll,
boolean declareStatic,
boolean declareFinal,
BaseExpressionToFieldHandler.InitializationPlace initializerPlace,
java.lang.String visibility,
PsiLocalVariable localVariableToRemove,
PsiType forcedType,
boolean deleteLocalVariable,
BaseExpressionToFieldHandler.TargetDestination targetDestination,
boolean annotateAsNonNls,
boolean introduceEnumConstant) |
Settings(java.lang.String fieldName,
PsiExpression selectedExpression,
PsiExpression[] occurrences,
boolean replaceAll,
boolean declareStatic,
boolean declareFinal,
BaseExpressionToFieldHandler.InitializationPlace initializerPlace,
java.lang.String visibility,
PsiLocalVariable localVariableToRemove,
PsiType forcedType,
boolean deleteLocalVariable,
PsiClass targetClass,
boolean annotateAsNonNls,
boolean introduceEnumConstant) |
Modifier and Type | Method and Description |
---|---|
PsiClass |
getDestinationClass() |
java.lang.String |
getFieldName() |
java.lang.String |
getFieldVisibility() |
PsiType |
getForcedType() |
BaseExpressionToFieldHandler.InitializationPlace |
getInitializerPlace() |
PsiLocalVariable |
getLocalVariable() |
PsiExpression[] |
getOccurrences() |
PsiExpression |
getSelectedExpr() |
boolean |
isAnnotateAsNonNls() |
boolean |
isDeclareFinal() |
boolean |
isDeclareStatic() |
boolean |
isDeleteLocalVariable() |
boolean |
isIntroduceEnumConstant() |
boolean |
isReplaceAll() |
void |
setOccurrences(PsiExpression[] occurrences) |
public Settings(java.lang.String fieldName, PsiExpression selectedExpr, PsiExpression[] occurrences, boolean replaceAll, boolean declareStatic, boolean declareFinal, BaseExpressionToFieldHandler.InitializationPlace initializerPlace, java.lang.String visibility, PsiLocalVariable localVariableToRemove, PsiType forcedType, boolean deleteLocalVariable, BaseExpressionToFieldHandler.TargetDestination targetDestination, boolean annotateAsNonNls, boolean introduceEnumConstant)
public Settings(java.lang.String fieldName, PsiExpression selectedExpression, PsiExpression[] occurrences, boolean replaceAll, boolean declareStatic, boolean declareFinal, BaseExpressionToFieldHandler.InitializationPlace initializerPlace, java.lang.String visibility, PsiLocalVariable localVariableToRemove, PsiType forcedType, boolean deleteLocalVariable, PsiClass targetClass, boolean annotateAsNonNls, boolean introduceEnumConstant)
public PsiLocalVariable getLocalVariable()
public boolean isDeleteLocalVariable()
public java.lang.String getFieldName()
public boolean isDeclareStatic()
public boolean isDeclareFinal()
public BaseExpressionToFieldHandler.InitializationPlace getInitializerPlace()
public java.lang.String getFieldVisibility()
public PsiClass getDestinationClass()
public PsiType getForcedType()
public boolean isReplaceAll()
public boolean isAnnotateAsNonNls()
public boolean isIntroduceEnumConstant()
public PsiExpression getSelectedExpr()
public PsiExpression[] getOccurrences()
public void setOccurrences(PsiExpression[] occurrences)