public class JavaAnonymousUnwrapper extends JavaUnwrapper
JavaUnwrapper.ContextAbstractUnwrapper.AbstractContext| Constructor and Description |
|---|
JavaAnonymousUnwrapper() |
| Modifier and Type | Method and Description |
|---|---|
PsiElement |
collectAffectedElements(PsiElement e,
java.util.List<PsiElement> toExtract) |
protected void |
doUnwrap(PsiElement element,
JavaUnwrapper.Context context) |
static PsiElement |
findElementToExtractFrom(PsiElement el) |
boolean |
isApplicableTo(PsiElement e) |
static boolean |
toAssignment(JavaUnwrapper.Context context,
PsiElement from,
PsiExpression returnValue) |
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>IncorrectOperationExceptionpublic static boolean toAssignment(JavaUnwrapper.Context context, PsiElement from, PsiExpression returnValue)
public static PsiElement findElementToExtractFrom(PsiElement el)