Interface Statement
- All Superinterfaces:
ComparableUnderEC,DeepCloneable<Statement>,Dumpable,HasByteCodeLoc
- All Known Implementing Classes:
AbstractAssignment,AbstractStatement,AnonBreakTarget,AssignmentPreMutation,AssignmentSimple,CaseStatement,CatchStatement,CommentStatement,CompoundStatement,ConstructorStatement,DoStatement,ExpressionStatement,FinallyStatement,ForIterStatement,ForStatement,GotoStatement,IfExitingStatement,IfStatement,JSRCallStatement,JSRRetStatement,JumpingStatement,MonitorEnterStatement,MonitorExitStatement,MonitorStatement,Nop,RawSwitchStatement,ReturnNothingStatement,ReturnStatement,ReturnValueStatement,SwitchStatement,ThrowStatement,TryStatement,WhileStatement
public interface Statement
extends Dumpable, ComparableUnderEC, DeepCloneable<Statement>, HasByteCodeLoc
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanThrow(ExceptionCheck caught) collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) voidcollectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) voidcollectLValueUsage(LValueUsageCollector lValueUsageCollector) voidcollectObjectCreation(CreationCollector creationCollector) booleandoesBlackListLValueReplacement(LValue lValue, Expression expression) booleanequivalentUnder(Object o, EquivalenceConstraint constraint) booleanbooleanvoidreplaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) voidrewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) voidsetContainer(StatementContainer<Statement> container) voidsetLifetimeHint(LValue lv, boolean usedInChildren) Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.rewriters.DeepCloneable
deepClone, outerDeepCloneMethods inherited from interface org.benf.cfr.reader.bytecode.analysis.loc.HasByteCodeLoc
addLoc, getCombinedLoc, getLoc
-
Method Details
-
setContainer
-
collectLValueAssignments
-
collectLValueUsage
-
doesBlackListLValueReplacement
-
replaceSingleUsageLValues
-
rewriteExpressions
-
collectObjectCreation
-
collectLocallyMutatedVariables
SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) -
isCompound
boolean isCompound() -
getCreatedLValue
LValue getCreatedLValue() -
getRValue
Expression getRValue() -
getContainer
StatementContainer<Statement> getContainer() -
getCompoundParts
-
getStructuredStatement
StructuredStatement getStructuredStatement() -
equivalentUnder
- Specified by:
equivalentUnderin interfaceComparableUnderEC
-
fallsToNext
boolean fallsToNext() -
canThrow
-
wantsLifetimeHint
-
setLifetimeHint
-