public class JavaWithIfElseExpressionSurrounder extends JavaWithIfExpressionSurrounder
EP_NAMEEMPTY_ARRAY, myArrayFactory| Constructor and Description |
|---|
JavaWithIfElseExpressionSurrounder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTemplateDescription()
Returns the user-visible name of the Surround With template.
|
TextRange |
surroundExpression(Project project,
Editor editor,
PsiExpression expr) |
isApplicableisApplicable, surroundElementspublic TextRange surroundExpression(Project project, Editor editor, PsiExpression expr) throws IncorrectOperationException
surroundExpression in class JavaWithIfExpressionSurrounderIncorrectOperationExceptionpublic java.lang.String getTemplateDescription()
SurroundergetTemplateDescription in interface SurroundergetTemplateDescription in class JavaWithIfExpressionSurrounder