Class RedundantSuperRewriter
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.RedundantSuperRewriter
-
- All Implemented Interfaces:
Op04Rewriter
- Direct Known Subclasses:
EnumAllSuperRewriter,EnumSuperRewriter
public class RedundantSuperRewriter extends java.lang.Object implements Op04Rewriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classRedundantSuperRewriter.SuperResultCollector
-
Constructor Summary
Constructors Constructor Description RedundantSuperRewriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanBeNopped(SuperFunctionInvokation superInvokation)protected java.util.Set<LValue>getDeclarationsToNop(WildcardMatch wcm)protected java.util.List<Expression>getSuperArgs(WildcardMatch wcm)voidrewrite(Op04StructuredStatement root)
-
-
-
Method Detail
-
getSuperArgs
protected java.util.List<Expression> getSuperArgs(WildcardMatch wcm)
-
getDeclarationsToNop
protected java.util.Set<LValue> getDeclarationsToNop(WildcardMatch wcm)
-
rewrite
public void rewrite(Op04StructuredStatement root)
- Specified by:
rewritein interfaceOp04Rewriter
-
canBeNopped
protected boolean canBeNopped(SuperFunctionInvokation superInvokation)
-
-