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
private static class UnreachableStaticRewriter.Rewriter extends AbstractExpressionRewriter
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<JavaTypeInstance,UnreachableStaticRewriter.Inaccessible>
inaccessibles
private JavaRefTypeInstance
thisType
private TypeUsageCollectingDumper
typeUsageCollector
private TypeUsageInformation
typeUsageInformation
-
Constructor Summary
Constructors Modifier Constructor Description private
Rewriter(JavaRefTypeInstance thisType, TypeUsageCollectingDumper typeUsage, java.util.Map<JavaTypeInstance,UnreachableStaticRewriter.Inaccessible> inaccessibles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
available(StaticFunctionInvokation sfe, UnreachableStaticRewriter.Inaccessible inaccessible)
private boolean
defines(JavaRefTypeInstance type, StaticFunctionInvokation sfe)
Expression
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 Detail
-
thisType
private JavaRefTypeInstance thisType
-
typeUsageCollector
private TypeUsageCollectingDumper typeUsageCollector
-
typeUsageInformation
private final TypeUsageInformation typeUsageInformation
-
inaccessibles
private java.util.Map<JavaTypeInstance,UnreachableStaticRewriter.Inaccessible> inaccessibles
-
-
Constructor Detail
-
Rewriter
private Rewriter(JavaRefTypeInstance thisType, TypeUsageCollectingDumper typeUsage, java.util.Map<JavaTypeInstance,UnreachableStaticRewriter.Inaccessible> inaccessibles)
-
-
Method Detail
-
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
private boolean defines(JavaRefTypeInstance type, StaticFunctionInvokation sfe)
-
-