public class ChainCallInplaceIntroducer extends JavaVariableInplaceIntroducer
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
Constructor and Description |
---|
ChainCallInplaceIntroducer(Project project,
IntroduceVariableSettings settings,
PsiElement chosenAnchor,
Editor editor,
PsiExpression expr,
PsiExpression[] occurrences,
TypeSelectorManagerImpl selectorManager,
java.lang.String title) |
Modifier and Type | Method and Description |
---|---|
protected PsiElement |
checkLocalScope() |
protected PsiVariable |
createFieldToStartTemplateOn(java.lang.String[] names,
PsiType psiType) |
protected PsiVariable |
getVariable() |
addAdditionalVariables, addReferenceAtCaret, adjustLine, beforeTemplateStart, collectAdditionalElementsToRename, createFinals, deleteTemplateField, ensureValid, finish, getActionName, getBeforeExpr, getCaretOffset, getComponent, getRefactoringId, getVariableKind, introduceVariable, isReplaceAllOccurrences, performCleanup, performIntroduce, restoreState, setReplaceAllOccurrences, startsOnTheSameElement, suggestNames
appendUnresolvedExprName, chooseName, correctExpression, createExpression, createFieldToStartTemplateOn, getType, restoreExpression, restoreExpression, saveSettings, suggestNames
addHighlights, adjustHighlightsStartOffset, getActiveIntroducer, getExpressionText, getInputName, getLocalVariable, getPreviewComponent, getPreviewEditor, moveOffsetAfter, performPostIntroduceTasks, performRefactoring, releaseResources, restartInplaceIntroduceTemplate, restoreSelection, revalidate, setPreviewText, shouldSelectAll, showBalloon, startInplaceIntroduceTemplate, startRename, startsOnTheSameElement, updateTitle, updateTitle
createLookupExpression, createMarker, getCommandName, getExpr, getExprMarker, getOccurrenceMarkers, getOccurrences, initOccurrencesMarkers, setExprMarker, setOccurrenceMarkers
acceptReference, adjustBalloon, buildTemplateAndStart, canStartAnotherRefactoring, checkCleared, collectRefs, createPreviewComponent, createTemplateExpression, getActiveInplaceRenamer, getInitialName, getNameIdentifier, getRangeToRename, getRangeToRename, getReferencesSearchScope, getSelectedInEditorElement, getTopLevelVirtualFile, isIdentifier, isReferenceAtCaret, isRestart, isShowBalloonInHeadlessMode, navigateToAlreadyStarted, notSameFile, performInplaceRefactoring, releaseIfNotRestart, restoreCaretOffset, revertState, setAdvertisementText, setElementToRename, setShowBalloonInHeadlessMode, shouldStopAtLookupExpression, showBalloonInEditor, showDialogAdvertisement, startsOnTheSameElements, stopIntroduce, stopIntroduce, unableToStartWarning
public ChainCallInplaceIntroducer(Project project, IntroduceVariableSettings settings, PsiElement chosenAnchor, Editor editor, PsiExpression expr, PsiExpression[] occurrences, TypeSelectorManagerImpl selectorManager, java.lang.String title)
protected PsiVariable getVariable()
getVariable
in class JavaVariableInplaceIntroducer
protected PsiElement checkLocalScope()
checkLocalScope
in class InplaceRefactoring
protected PsiVariable createFieldToStartTemplateOn(java.lang.String[] names, PsiType psiType)
createFieldToStartTemplateOn
in class JavaVariableInplaceIntroducer