public class CatchStatement extends AbstractStatement
Modifier and Type | Field and Description |
---|---|
private BlockIdentifier |
catchBlockIdent |
private LValue |
catching |
private java.util.List<ExceptionGroup.Entry> |
exceptions |
Constructor and Description |
---|
CatchStatement(BytecodeLoc loc,
java.util.List<ExceptionGroup.Entry> exceptions,
LValue catching) |
addLoc, canThrow, collectLocallyMutatedVariables, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
private final java.util.List<ExceptionGroup.Entry> exceptions
private BlockIdentifier catchBlockIdent
private LValue catching
public CatchStatement(BytecodeLoc loc, java.util.List<ExceptionGroup.Entry> exceptions, LValue catching)
public BytecodeLoc getCombinedLoc()
private static JavaTypeInstance determineType(java.util.List<ExceptionGroup.Entry> exceptions)
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 java.util.List<ExceptionGroup.Entry> getExceptions()
public StructuredStatement getStructuredStatement()
public final boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)