public class CatchStatement extends AbstractStatement
Constructor and Description |
---|
CatchStatement(BytecodeLoc loc,
List<ExceptionGroup.Entry> exceptions,
LValue catching) |
Modifier and Type | Method and Description |
---|---|
void |
collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) |
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
Statement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equivalentUnder(Object o,
EquivalenceConstraint constraint) |
BlockIdentifier |
getCatchBlockIdent() |
BytecodeLoc |
getCombinedLoc() |
LValue |
getCreatedLValue() |
List<ExceptionGroup.Entry> |
getExceptions() |
StructuredStatement |
getStructuredStatement() |
boolean |
hasCatchBlockFor(BlockIdentifier tryBlockIdent) |
void |
removeCatchBlockFor(BlockIdentifier tryBlockIdent) |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
setCatchBlockIdent(BlockIdentifier catchBlockIdent) |
addLoc, canThrow, collectLocallyMutatedVariables, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
public CatchStatement(BytecodeLoc loc, List<ExceptionGroup.Entry> exceptions, LValue catching)
public BytecodeLoc getCombinedLoc()
public Statement deepClone(CloneHelper cloneHelper)
public void removeCatchBlockFor(BlockIdentifier tryBlockIdent)
public boolean hasCatchBlockFor(BlockIdentifier tryBlockIdent)
public BlockIdentifier getCatchBlockIdent()
public void setCatchBlockIdent(BlockIdentifier catchBlockIdent)
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments
in interface Statement
collectLValueAssignments
in class AbstractStatement
public LValue getCreatedLValue()
getCreatedLValue
in interface Statement
getCreatedLValue
in class AbstractStatement
public List<ExceptionGroup.Entry> getExceptions()
public StructuredStatement getStructuredStatement()
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.