Class ClashDeclarationReducer
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.ClashDeclarationReducer
-
- All Implemented Interfaces:
StructuredStatementTransformer
,ExpressionRewriter
public class ClashDeclarationReducer extends AbstractExpressionRewriter implements StructuredStatementTransformer
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Set<java.lang.Integer>
clashes
-
Constructor Summary
Constructors Constructor Description ClashDeclarationReducer(java.util.Set<java.lang.Integer> clashes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
doReplace(LValue lv, java.util.List<LValue> replaceThese, java.util.List<Op04StructuredStatement> inThese)
private int
goBack(int idx, java.util.List<Op04StructuredStatement> statements, JavaTypeInstance type, int slot, java.util.List<LValue> replaceThese, java.util.List<Op04StructuredStatement> inThese)
StructuredStatement
transform(StructuredStatement in, StructuredScope scope)
private void
transformBlock(Block in)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
handleStatement, rewriteExpression, rewriteExpression, rewriteExpression, rewriteExpression
-
-
-
-
Method Detail
-
transform
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
- Specified by:
transform
in interfaceStructuredStatementTransformer
-
transformBlock
private void transformBlock(Block in)
-
doReplace
private void doReplace(LValue lv, java.util.List<LValue> replaceThese, java.util.List<Op04StructuredStatement> inThese)
-
goBack
private int goBack(int idx, java.util.List<Op04StructuredStatement> statements, JavaTypeInstance type, int slot, java.util.List<LValue> replaceThese, java.util.List<Op04StructuredStatement> inThese)
-
-