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 JavaRefTypeInstanceprivate TypeUsageCollectingDumperprivate final TypeUsageInformation -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRewriter(JavaRefTypeInstance thisType, TypeUsageCollectingDumper typeUsage, Map<JavaTypeInstance, UnreachableStaticRewriter.Inaccessible> inaccessibles) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanavailable(StaticFunctionInvokation sfe, UnreachableStaticRewriter.Inaccessible inaccessible) private booleandefines(JavaRefTypeInstance type, StaticFunctionInvokation sfe) rewriteExpression(Expression expression, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) Methods inherited from class 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:
rewriteExpressionin interfaceExpressionRewriter- Overrides:
rewriteExpressionin classAbstractExpressionRewriter
-
available
private boolean available(StaticFunctionInvokation sfe, UnreachableStaticRewriter.Inaccessible inaccessible) -
defines
-