public class JavaChangeSignatureDetector extends java.lang.Object implements LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
Constructor and Description |
---|
JavaChangeSignatureDetector() |
Modifier and Type | Method and Description |
---|---|
com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo |
createInitialChangeInfo(PsiElement element) |
com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo |
createNextChangeInfo(java.lang.String signature,
com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo currentInfo,
boolean delegate) |
FileType |
getFileType() |
TextRange |
getHighlightingRange(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo changeInfo) |
java.lang.String |
getMethodSignaturePreview(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo initialChangeInfo,
java.util.List<? super TextRange> deleteRanges,
java.util.List<? super TextRange> newRanges) |
static TextRange |
getSignatureRange(PsiMethod method) |
boolean |
ignoreChanges(PsiElement element) |
boolean |
isChangeSignatureAvailableOnElement(PsiElement element,
com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo currentInfo) |
void |
performChange(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo changeInfo,
Editor editor,
java.lang.String oldText) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extractSignature
public com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo createInitialChangeInfo(PsiElement element)
createInitialChangeInfo
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public void performChange(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo changeInfo, Editor editor, java.lang.String oldText)
performChange
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public boolean isChangeSignatureAvailableOnElement(PsiElement element, com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo currentInfo)
isChangeSignatureAvailableOnElement
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public boolean ignoreChanges(PsiElement element)
ignoreChanges
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public TextRange getHighlightingRange(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo changeInfo)
getHighlightingRange
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public java.lang.String getMethodSignaturePreview(com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo initialChangeInfo, java.util.List<? super TextRange> deleteRanges, java.util.List<? super TextRange> newRanges)
getMethodSignaturePreview
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public FileType getFileType()
getFileType
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>
public com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo createNextChangeInfo(java.lang.String signature, com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo currentInfo, boolean delegate)
createNextChangeInfo
in interface LanguageChangeSignatureDetector<com.intellij.refactoring.changeSignature.DetectedJavaChangeInfo>