public class InplaceIntroduceParameterPopup extends AbstractJavaInplaceIntroducer
myTypeSelectorManagerACTIVE_INTRODUCE, myExprText, myFinished, myLocalMarker, myLocalVariable, myWholePanelmyExpr, myExprMarker, myOccurrenceMarkers, myOccurrencesINPLACE_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, suggestNamesaddHighlights, 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, startsOnTheSameElementcreateLookupExpression, createMarker, getCommandName, getExpr, getExprMarker, getOccurrenceMarkers, getOccurrences, initOccurrencesMarkers, setExprMarker, setOccurrenceMarkersacceptReference, 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, unableToStartWarningprotected PsiVariable createFieldToStartTemplateOn(java.lang.String[] names, PsiType defaultType)
createFieldToStartTemplateOn in class AbstractJavaInplaceIntroducerprotected PsiElement checkLocalScope()
checkLocalScope in class InplaceRefactoringprotected SearchScope getReferencesSearchScope(VirtualFile file)
getReferencesSearchScope in class InplaceRefactoringprotected VariableKind getVariableKind()
getVariableKind in class AbstractJavaInplaceIntroducerprotected java.lang.String[] suggestNames(PsiType defaultType, java.lang.String propName)
suggestNames in class AbstractJavaInplaceIntroducerprotected 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 AbstractJavaInplaceIntroducerprotected 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()
AbstractInplaceIntroducergetActionName in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>public void setReplaceAllOccurrences(boolean replaceAll)
setReplaceAllOccurrences in class AbstractInplaceIntroducer<PsiVariable,PsiExpression>public PsiMethod getMethodToIntroduceParameter()
public PsiMethod getMethodToSearchFor()