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 ExpressionapplyTransforms(ArithmeticMutationOperation t)private static ExpressionapplyTransforms(ArithmeticOperation t)private static booleanbitOp(ArithOp op)private static ExpressionconvertLiteral(Expression e)ExpressionrewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)voidtransform(Op04StructuredStatement root)StructuredStatementtransform(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:
transformin 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:
rewriteExpressionin interfaceExpressionRewriter- Overrides:
rewriteExpressionin classAbstractExpressionRewriter
-
-