Class CatchStatement
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.CatchStatement
- All Implemented Interfaces:
HasByteCodeLoc
,DeepCloneable<Statement>
,Statement
,ComparableUnderEC
,Dumpable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BlockIdentifier
private LValue
private final List<ExceptionGroup.Entry>
-
Constructor Summary
ConstructorsConstructorDescriptionCatchStatement
(BytecodeLoc loc, List<ExceptionGroup.Entry> exceptions, LValue catching) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectLValueAssignments
(LValueAssignmentCollector<Statement> lValueAssigmentCollector) void
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) deepClone
(CloneHelper cloneHelper) private static JavaTypeInstance
determineType
(List<ExceptionGroup.Entry> exceptions) final boolean
equivalentUnder
(Object o, EquivalenceConstraint constraint) boolean
hasCatchBlockFor
(BlockIdentifier tryBlockIdent) void
removeCatchBlockFor
(BlockIdentifier tryBlockIdent) void
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) void
rewriteExpressions
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) void
setCatchBlockIdent
(BlockIdentifier catchBlockIdent) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, canThrow, collectLocallyMutatedVariables, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
Field Details
-
exceptions
-
catchBlockIdent
-
catching
-
-
Constructor Details
-
CatchStatement
-
-
Method Details
-
getCombinedLoc
-
determineType
-
deepClone
-
removeCatchBlockFor
-
hasCatchBlockFor
-
dump
-
getCatchBlockIdent
-
setCatchBlockIdent
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
collectLValueUsage
-
collectLValueAssignments
- Specified by:
collectLValueAssignments
in interfaceStatement
- Overrides:
collectLValueAssignments
in classAbstractStatement
-
getCreatedLValue
- Specified by:
getCreatedLValue
in interfaceStatement
- Overrides:
getCreatedLValue
in classAbstractStatement
-
getExceptions
-
getStructuredStatement
-
equivalentUnder
-