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 ExceptionGroupexceptionGroupprivate 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 voidaddExitMutex(Expression e)voidcollectLValueUsage(LValueUsageCollector lValueUsageCollector)StatementdeepClone(CloneHelper cloneHelper)Dumperdump(Dumper dumper)booleanequivalentUnder(java.lang.Object other, EquivalenceConstraint constraint)BlockIdentifiergetBlockIdentifier()BytecodeLocgetCombinedLoc()java.util.List<ExceptionGroup.Entry>getEntries()java.util.Set<Expression>getMonitors()StructuredStatementgetStructuredStatement()voidreplaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)voidrewriteExpressions(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)
-
-