Class EnumSuperRewriter
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.RedundantSuperRewriter
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.EnumSuperRewriter
-
- All Implemented Interfaces:
Op04Rewriter
public class EnumSuperRewriter extends RedundantSuperRewriter
-
-
Constructor Summary
Constructors Constructor Description EnumSuperRewriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canBeNopped(SuperFunctionInvokation superInvokation)
protected java.util.Set<LValue>
getDeclarationsToNop(WildcardMatch wcm)
private static LValue
getLValue(WildcardMatch wcm, java.lang.String name)
protected java.util.List<Expression>
getSuperArgs(WildcardMatch wcm)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.RedundantSuperRewriter
rewrite
-
-
-
-
Method Detail
-
getSuperArgs
protected java.util.List<Expression> getSuperArgs(WildcardMatch wcm)
- Overrides:
getSuperArgs
in classRedundantSuperRewriter
-
getLValue
private static LValue getLValue(WildcardMatch wcm, java.lang.String name)
-
getDeclarationsToNop
protected java.util.Set<LValue> getDeclarationsToNop(WildcardMatch wcm)
- Overrides:
getDeclarationsToNop
in classRedundantSuperRewriter
-
canBeNopped
protected boolean canBeNopped(SuperFunctionInvokation superInvokation)
- Overrides:
canBeNopped
in classRedundantSuperRewriter
-
-