public class InplaceIntroduceParameterPopup extends AbstractJavaInplaceIntroducer
myTypeSelectorManager
ACTIVE_INTRODUCE, myExprText, myFinished, myLocalMarker, myLocalVariable, myWholePanel
myExpr, myExprMarker, myOccurrenceMarkers, myOccurrences
INPLACE_RENAMER, INTRODUCE_RESTART, LOG, myAdvertisementText, myBalloon, myBeforeRevert, myCaretRangeMarker, myEditor, myElementToRename, myInitialName, myInsertedName, myMarkAction, myNameSuggestions, myOldName, myProject, myRenameOffset, myScope, myTarget, myTitle, OTHER_VARIABLE_NAME, ourRenamersStack, PRIMARY_VARIABLE_NAME
Modifier and Type | Method and Description |
---|---|
protected PsiElement |
checkLocalScope() |
protected PsiVariable |
createFieldToStartTemplateOn(java.lang.String[] names,
PsiType defaultType) |
protected java.lang.String |
getActionName()
Returns ID of the action the shortcut of which is used to show the non-in-place refactoring dialog.
|
protected javax.swing.JComponent |
getComponent() |
PsiMethod |
getMethodToIntroduceParameter() |
PsiMethod |
getMethodToSearchFor() |
protected SearchScope |
getReferencesSearchScope(VirtualFile file) |
protected PsiVariable |
getVariable() |
protected VariableKind |
getVariableKind() |
boolean |
isGenerateDelegate() |
boolean |
isReplaceAllOccurrences() |
protected void |
performIntroduce() |
protected void |
saveSettings(PsiVariable psiVariable) |
void |
setReplaceAllOccurrences(boolean replaceAll) |
protected boolean |
startsOnTheSameElement(RefactoringActionHandler handler,
PsiElement element) |
protected java.lang.String[] |
suggestNames(PsiType defaultType,
java.lang.String propName) |
protected void |
updateTitle(PsiVariable variable) |
protected void |
updateTitle(PsiVariable variable,
java.lang.String value) |
appendUnresolvedExprName, chooseName, correctExpression, createExpression, createFieldToStartTemplateOn, getType, restoreExpression, restoreExpression, restoreState, suggestNames
addHighlights, addReferenceAtCaret, adjustHighlightsStartOffset, collectAdditionalElementsToRename, deleteTemplateField, ensureValid, finish, getActiveIntroducer, getBeforeExpr, getCaretOffset, getExpressionText, getInputName, getLocalVariable, getPreviewComponent, getPreviewEditor, getRefactoringId, moveOffsetAfter, performPostIntroduceTasks, performRefactoring, releaseResources, restartInplaceIntroduceTemplate, restoreSelection, revalidate, setPreviewText, shouldSelectAll, showBalloon, startInplaceIntroduceTemplate, startRename, startsOnTheSameElement
createLookupExpression, createMarker, getCommandName, getExpr, getExprMarker, getOccurrenceMarkers, getOccurrences, initOccurrencesMarkers, setExprMarker, setOccurrenceMarkers
acceptReference, addAdditionalVariables, adjustBalloon, beforeTemplateStart, buildTemplateAndStart, canStartAnotherRefactoring, checkCleared, collectRefs, createPreviewComponent, createTemplateExpression, getActiveInplaceRenamer, getInitialName, getNameIdentifier, getRangeToRename, getRangeToRename, getSelectedInEditorElement, getTopLevelVirtualFile, isIdentifier, isReferenceAtCaret, isRestart, isShowBalloonInHeadlessMode, navigateToAlreadyStarted, notSameFile, performCleanup, performInplaceRefactoring, releaseIfNotRestart, restoreCaretOffset, revertState, setAdvertisementText, setElementToRename, setShowBalloonInHeadlessMode, shouldStopAtLookupExpression, showBalloonInEditor, showDialogAdvertisement, startsOnTheSameElements, stopIntroduce, stopIntroduce, unableToStartWarning
protected PsiVariable createFieldToStartTemplateOn(java.lang.String[] names, PsiType defaultType)
createFieldToStartTemplateOn
in class AbstractJavaInplaceIntroducer
protected PsiElement checkLocalScope()
checkLocalScope
in class InplaceRefactoring
protected SearchScope getReferencesSearchScope(VirtualFile file)
getReferencesSearchScope
in class InplaceRefactoring
protected VariableKind getVariableKind()
getVariableKind
in class AbstractJavaInplaceIntroducer
protected java.lang.String[] suggestNames(PsiType defaultType, java.lang.String propName)
suggestNames
in class AbstractJavaInplaceIntroducer
protected javax.swing.JComponent getComponent()
getComponent
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
public boolean isReplaceAllOccurrences()
isReplaceAllOccurrences
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
protected PsiVariable getVariable()
getVariable
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
protected boolean startsOnTheSameElement(RefactoringActionHandler handler, PsiElement element)
startsOnTheSameElement
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
protected void saveSettings(PsiVariable psiVariable)
saveSettings
in class AbstractJavaInplaceIntroducer
protected void performIntroduce()
performIntroduce
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
public boolean isGenerateDelegate()
protected void updateTitle(PsiVariable variable)
updateTitle
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
protected void updateTitle(PsiVariable variable, java.lang.String value)
updateTitle
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
protected java.lang.String getActionName()
AbstractInplaceIntroducer
getActionName
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
public void setReplaceAllOccurrences(boolean replaceAll)
setReplaceAllOccurrences
in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>
public PsiMethod getMethodToIntroduceParameter()
public PsiMethod getMethodToSearchFor()