public class JavaConditionalUnwrapper extends JavaUnwrapper
JavaUnwrapper.ContextAbstractUnwrapper.AbstractContext| Constructor and Description |
|---|
JavaConditionalUnwrapper() |
| Modifier and Type | Method and Description |
|---|---|
PsiElement |
collectAffectedElements(PsiElement e,
java.util.List<PsiElement> toExtract) |
protected void |
doUnwrap(PsiElement element,
JavaUnwrapper.Context context) |
boolean |
isApplicableTo(PsiElement e) |
createContextcollectElementsToIgnore, getDescription, unwrappublic boolean isApplicableTo(PsiElement e)
isApplicableTo in interface UnwrapperisApplicableTo in class AbstractUnwrapper<JavaUnwrapper.Context>public PsiElement collectAffectedElements(PsiElement e, java.util.List<PsiElement> toExtract)
collectAffectedElements in interface UnwrappercollectAffectedElements in class AbstractUnwrapper<JavaUnwrapper.Context>toExtract - the elements that will be extractedprotected void doUnwrap(PsiElement element, JavaUnwrapper.Context context) throws IncorrectOperationException
doUnwrap in class AbstractUnwrapper<JavaUnwrapper.Context>IncorrectOperationException