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 TypeMethodDescriptionboolean
canThrow
(ExceptionCheck caught) collectLocallyMutatedVariables
(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) void
collectLValueAssignments
(LValueAssignmentCollector<Statement> lValueAssigmentCollector) void
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) void
collectObjectCreation
(CreationCollector creationCollector) boolean
doesBlackListLValueReplacement
(LValue lValue, Expression expression) boolean
equivalentUnder
(Object o, EquivalenceConstraint constraint) boolean
boolean
void
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) void
rewriteExpressions
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) void
setContainer
(StatementContainer<Statement> container) void
setLifetimeHint
(LValue lv, boolean usedInChildren) Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.rewriters.DeepCloneable
deepClone, outerDeepClone
Methods 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:
equivalentUnder
in interfaceComparableUnderEC
-
fallsToNext
boolean fallsToNext() -
canThrow
-
wantsLifetimeHint
-
setLifetimeHint
-