Class AbstractStatement
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
- All Implemented Interfaces:
HasByteCodeLoc, DeepCloneable<Statement>, Statement, ComparableUnderEC, Dumpable
- Direct Known Subclasses:
AbstractAssignment, AnonBreakTarget, CaseStatement, CatchStatement, CommentStatement, CompoundStatement, ConstructorStatement, DoStatement, ExpressionStatement, FinallyStatement, ForIterStatement, ForStatement, IfExitingStatement, JSRCallStatement, JSRRetStatement, JumpingStatement, MonitorStatement, Nop, RawSwitchStatement, ReturnStatement, SwitchStatement, TryStatement, WhileStatement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLoc(HasByteCodeLoc loc) booleancanThrow(ExceptionCheck caught) collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) voidcollectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) voidcollectObjectCreation(CreationCollector creationCollector) booleandoesBlackListLValueReplacement(LValue lValue, Expression expression) booleangetLoc()protected StatementgetTargetStatement(int idx) booleanouterDeepClone(CloneHelper cloneHelper) voidsetContainer(StatementContainer<Statement> container) voidsetLifetimeHint(LValue lv, boolean usedInChildren) final StringtoString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DeepCloneable
deepCloneMethods inherited from interface HasByteCodeLoc
getCombinedLocMethods inherited from interface Statement
collectLValueUsage, equivalentUnder, getStructuredStatement, replaceSingleUsageLValues, rewriteExpressions
-
Field Details
-
loc
-
container
-
-
Constructor Details
-
AbstractStatement
-
-
Method Details
-
getLoc
- Specified by:
getLocin interfaceHasByteCodeLoc
-
addLoc
- Specified by:
addLocin interfaceHasByteCodeLoc
-
setContainer
- Specified by:
setContainerin interfaceStatement
-
outerDeepClone
- Specified by:
outerDeepClonein interfaceDeepCloneable<Statement>
-
getCreatedLValue
- Specified by:
getCreatedLValuein interfaceStatement
-
collectLValueAssignments
- Specified by:
collectLValueAssignmentsin interfaceStatement
-
doesBlackListLValueReplacement
- Specified by:
doesBlackListLValueReplacementin interfaceStatement
-
collectObjectCreation
- Specified by:
collectObjectCreationin interfaceStatement
-
collectLocallyMutatedVariables
public SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) - Specified by:
collectLocallyMutatedVariablesin interfaceStatement
-
getContainer
- Specified by:
getContainerin interfaceStatement
-
getRValue
-
getTargetStatement
-
isCompound
public boolean isCompound()- Specified by:
isCompoundin interfaceStatement
-
getCompoundParts
- Specified by:
getCompoundPartsin interfaceStatement
-
toString
-
fallsToNext
public boolean fallsToNext()- Specified by:
fallsToNextin interfaceStatement
-
canThrow
-
wantsLifetimeHint
- Specified by:
wantsLifetimeHintin interfaceStatement
-
setLifetimeHint
- Specified by:
setLifetimeHintin interfaceStatement
-