Class TryStatement
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
-
- org.benf.cfr.reader.bytecode.analysis.parse.statement.TryStatement
-
- All Implemented Interfaces:
HasByteCodeLoc
,DeepCloneable<Statement>
,Statement
,ComparableUnderEC
,Dumpable
public class TryStatement extends AbstractStatement
-
-
Field Summary
Fields Modifier and Type Field Description private ExceptionGroup
exceptionGroup
private java.util.Set<Expression>
monitors
-
Constructor Summary
Constructors Constructor Description TryStatement(BytecodeLoc loc, ExceptionGroup exceptionGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addExitMutex(Expression e)
void
collectLValueUsage(LValueUsageCollector lValueUsageCollector)
Statement
deepClone(CloneHelper cloneHelper)
Dumper
dump(Dumper dumper)
boolean
equivalentUnder(java.lang.Object other, EquivalenceConstraint constraint)
BlockIdentifier
getBlockIdentifier()
BytecodeLoc
getCombinedLoc()
java.util.List<ExceptionGroup.Entry>
getEntries()
java.util.Set<Expression>
getMonitors()
StructuredStatement
getStructuredStatement()
void
replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
void
rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, canThrow, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
-
-
-
Field Detail
-
exceptionGroup
private final ExceptionGroup exceptionGroup
-
monitors
private final java.util.Set<Expression> monitors
-
-
Constructor Detail
-
TryStatement
public TryStatement(BytecodeLoc loc, ExceptionGroup exceptionGroup)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
addExitMutex
public void addExitMutex(Expression e)
-
getMonitors
public java.util.Set<Expression> getMonitors()
-
deepClone
public Statement deepClone(CloneHelper cloneHelper)
-
replaceSingleUsageLValues
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
-
collectLValueUsage
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
-
getStructuredStatement
public StructuredStatement getStructuredStatement()
-
getBlockIdentifier
public BlockIdentifier getBlockIdentifier()
-
getEntries
public java.util.List<ExceptionGroup.Entry> getEntries()
-
equivalentUnder
public boolean equivalentUnder(java.lang.Object other, EquivalenceConstraint constraint)
-
-