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 booleancanBeNopped(SuperFunctionInvokation superInvokation)protected java.util.Set<LValue>getDeclarationsToNop(WildcardMatch wcm)private static LValuegetLValue(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:
getSuperArgsin classRedundantSuperRewriter
-
getLValue
private static LValue getLValue(WildcardMatch wcm, java.lang.String name)
-
getDeclarationsToNop
protected java.util.Set<LValue> getDeclarationsToNop(WildcardMatch wcm)
- Overrides:
getDeclarationsToNopin classRedundantSuperRewriter
-
canBeNopped
protected boolean canBeNopped(SuperFunctionInvokation superInvokation)
- Overrides:
canBeNoppedin classRedundantSuperRewriter
-
-