public class JavaReplaceHandler extends StructuralReplaceHandler
Constructor and Description |
---|
JavaReplaceHandler(Project project,
ReplaceOptions replaceOptions) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,PsiElement> |
collectNamedElements(PsiElement... elements) |
void |
postProcess(PsiElement affectedElement,
ReplaceOptions options) |
void |
replace(ReplacementInfo info,
ReplaceOptions options) |
prepare
public JavaReplaceHandler(Project project, ReplaceOptions replaceOptions)
public void replace(ReplacementInfo info, ReplaceOptions options)
replace
in class StructuralReplaceHandler
public void postProcess(PsiElement affectedElement, ReplaceOptions options)
postProcess
in class StructuralReplaceHandler
public static java.util.Map<java.lang.String,PsiElement> collectNamedElements(PsiElement... elements)