public class JavaWithCastSurrounder extends JavaExpressionSurrounder
EP_NAME
EMPTY_ARRAY, myArrayFactory
Constructor and Description |
---|
JavaWithCastSurrounder() |
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, surroundElements
public boolean isApplicable(PsiExpression expr)
isApplicable
in class JavaExpressionSurrounder
public TextRange surroundExpression(Project project, Editor editor, PsiExpression expr) throws IncorrectOperationException
surroundExpression
in class JavaExpressionSurrounder
IncorrectOperationException
public java.lang.String getTemplateDescription()
Surrounder