public class JavaWithNullCheckSurrounder extends JavaExpressionSurrounder
EP_NAMEEMPTY_ARRAY, myArrayFactory| Constructor and Description |
|---|
JavaWithNullCheckSurrounder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTemplateDescription()
Returns the user-visible name of the Surround With template.
|
boolean |
isApplicable(PsiExpression expr) |
TextRange |
surroundExpression(Project project,
Editor editor,
PsiExpression expr) |
isApplicable, surroundElementspublic boolean isApplicable(PsiExpression expr)
isApplicable in class JavaExpressionSurrounderpublic TextRange surroundExpression(Project project, Editor editor, PsiExpression expr) throws IncorrectOperationException
surroundExpression in class JavaExpressionSurrounderIncorrectOperationExceptionpublic java.lang.String getTemplateDescription()
Surrounder