Class HexLiteralTidier
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
-
- org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.transformers.HexLiteralTidier
-
- All Implemented Interfaces:
StructuredStatementTransformer
,ExpressionRewriter
public class HexLiteralTidier extends AbstractExpressionRewriter implements StructuredStatementTransformer
-
-
Constructor Summary
Constructors Constructor Description HexLiteralTidier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static Expression
applyTransforms(ArithmeticMutationOperation t)
private static Expression
applyTransforms(ArithmeticOperation t)
private static boolean
bitOp(ArithOp op)
private static Expression
convertLiteral(Expression e)
Expression
rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
void
transform(Op04StructuredStatement root)
StructuredStatement
transform(StructuredStatement in, StructuredScope scope)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
handleStatement, rewriteExpression, rewriteExpression, rewriteExpression
-
-
-
-
Method Detail
-
transform
public void transform(Op04StructuredStatement root)
-
transform
public StructuredStatement transform(StructuredStatement in, StructuredScope scope)
- Specified by:
transform
in interfaceStructuredStatementTransformer
-
bitOp
private static boolean bitOp(ArithOp op)
-
applyTransforms
private static Expression applyTransforms(ArithmeticOperation t)
-
applyTransforms
private static Expression applyTransforms(ArithmeticMutationOperation t)
-
convertLiteral
private static Expression convertLiteral(Expression e)
-
rewriteExpression
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
- Specified by:
rewriteExpression
in interfaceExpressionRewriter
- Overrides:
rewriteExpression
in classAbstractExpressionRewriter
-
-