com.intellij.lang.refactoring
Interface RefactoringSupportProvider
public interface RefactoringSupportProvider
Allows a custom language plugin to control the operation of refactorings for
files in the language.
- See Also:
Language.getRefactoringSupportProvider()
|
Method Summary |
boolean |
isSafeDeleteAvailable(PsiElement element)
Checks if the Safe Delete refactoring can be applied to the specified element
in the language. |
isSafeDeleteAvailable
boolean isSafeDeleteAvailable(PsiElement element)
- Checks if the Safe Delete refactoring can be applied to the specified element
in the language. The Safe Delete refactoring also requires the plugin to implement
Find Usages functionality.
- Parameters:
element - the element for which Safe Delete was invoked
- Returns:
- true if Safe Delete is available, false otherwise.