public class JavaSwitchStatementUnwrapper extends JavaUnwrapper
JavaUnwrapper.Context
AbstractUnwrapper.AbstractContext
Constructor and Description |
---|
JavaSwitchStatementUnwrapper() |
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) |
createContext
collectElementsToIgnore, getDescription, unwrap
public boolean isApplicableTo(PsiElement e)
isApplicableTo
in interface Unwrapper
isApplicableTo
in class AbstractUnwrapper<JavaUnwrapper.Context>
public PsiElement collectAffectedElements(PsiElement e, java.util.List<PsiElement> toExtract)
collectAffectedElements
in interface Unwrapper
collectAffectedElements
in class AbstractUnwrapper<JavaUnwrapper.Context>
toExtract
- the elements that will be extractedprotected void doUnwrap(PsiElement element, JavaUnwrapper.Context context)
doUnwrap
in class AbstractUnwrapper<JavaUnwrapper.Context>