public class ThrowStatement extends ReturnStatement
Modifier and Type | Field and Description |
---|---|
private Expression |
rvalue |
Constructor and Description |
---|
ThrowStatement(BytecodeLoc loc,
Expression rvalue) |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrow(ExceptionCheck caught) |
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
ReturnStatement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equals(java.lang.Object o) |
boolean |
equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint) |
BytecodeLoc |
getCombinedLoc() |
StructuredStatement |
getStructuredStatement() |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
fallsToNext, outerDeepClone
addLoc, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, setContainer, setLifetimeHint, toString, wantsLifetimeHint
private Expression rvalue
public ThrowStatement(BytecodeLoc loc, Expression rvalue)
public BytecodeLoc getCombinedLoc()
public ReturnStatement deepClone(CloneHelper cloneHelper)
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public StructuredStatement getStructuredStatement()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean canThrow(ExceptionCheck caught)
canThrow
in interface Statement
canThrow
in class AbstractStatement
public final boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)