Class UnreachableStaticRewriter.Rewriter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.UnreachableStaticRewriter.Rewriter
- All Implemented Interfaces:
ExpressionRewriter
- Enclosing class:
- UnreachableStaticRewriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JavaRefTypeInstance
private TypeUsageCollectingDumper
private final TypeUsageInformation
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Rewriter
(JavaRefTypeInstance thisType, TypeUsageCollectingDumper typeUsage, Map<JavaTypeInstance, UnreachableStaticRewriter.Inaccessible> inaccessibles) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
available
(StaticFunctionInvokation sfe, UnreachableStaticRewriter.Inaccessible inaccessible) private boolean
defines
(JavaRefTypeInstance type, StaticFunctionInvokation sfe) rewriteExpression
(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.rewriters.AbstractExpressionRewriter
handleStatement, rewriteExpression, rewriteExpression, rewriteExpression
-
Field Details
-
thisType
-
typeUsageCollector
-
typeUsageInformation
-
inaccessibles
-
-
Constructor Details
-
Rewriter
private Rewriter(JavaRefTypeInstance thisType, TypeUsageCollectingDumper typeUsage, Map<JavaTypeInstance, UnreachableStaticRewriter.Inaccessible> inaccessibles)
-
-
Method Details
-
rewriteExpression
public Expression rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) - Specified by:
rewriteExpression
in interfaceExpressionRewriter
- Overrides:
rewriteExpression
in classAbstractExpressionRewriter
-
available
private boolean available(StaticFunctionInvokation sfe, UnreachableStaticRewriter.Inaccessible inaccessible) -
defines
-