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 class
RedundantSuperRewriter.SuperResultCollector
-
Constructor Summary
Constructors Constructor Description RedundantSuperRewriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canBeNopped(SuperFunctionInvokation superInvokation)
protected java.util.Set<LValue>
getDeclarationsToNop(WildcardMatch wcm)
protected java.util.List<Expression>
getSuperArgs(WildcardMatch wcm)
void
rewrite(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:
rewrite
in interfaceOp04Rewriter
-
canBeNopped
protected boolean canBeNopped(SuperFunctionInvokation superInvokation)
-
-