Class ReturnValueStatement
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.ReturnStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.ReturnValueStatement
- All Implemented Interfaces:
HasByteCodeLoc
,DeepCloneable<Statement>
,Statement
,ComparableUnderEC
,Dumpable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReturnValueStatement
(BytecodeLoc loc, Expression rvalue, JavaTypeInstance fnReturnType) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canThrow
(ExceptionCheck caught) void
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) deepClone
(CloneHelper cloneHelper) boolean
final boolean
equivalentUnder
(Object o, EquivalenceConstraint constraint) void
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) void
rewriteExpressions
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.ReturnStatement
fallsToNext, outerDeepClone
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
Field Details
-
rvalue
-
fnReturnType
-
-
Constructor Details
-
ReturnValueStatement
-
-
Method Details
-
deepClone
-
getCombinedLoc
-
dump
-
getReturnValue
-
getFnReturnType
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
collectLValueUsage
-
getStructuredStatement
-
equals
-
equivalentUnder
-
canThrow
- Specified by:
canThrow
in interfaceStatement
- Overrides:
canThrow
in classAbstractStatement
-