public interface RenameInputValidator
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<RenameInputValidator> |
EP_NAME |
Modifier and Type | Method and Description |
---|---|
ElementPattern<? extends PsiElement> |
getPattern() |
boolean |
isInputValid(java.lang.String newName,
PsiElement element,
ProcessingContext context)
Is invoked for elements accepted by pattern
getPattern() . |
static final ExtensionPointName<RenameInputValidator> EP_NAME
ElementPattern<? extends PsiElement> getPattern()
boolean isInputValid(java.lang.String newName, PsiElement element, ProcessingContext context)
getPattern()
.
Should return true if RenameInputValidatorEx
is intended to return custom error message,
otherwise default message "newName is not a valid identifier" would be shown