Class StructuredThrow
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.StructuredThrow
-
- All Implemented Interfaces:
HasByteCodeLoc
,Matcher<StructuredStatement>
,StructuredStatement
,Dumpable
,TypeUsageCollectable
public class StructuredThrow extends AbstractStructuredStatement
-
-
Field Summary
Fields Modifier and Type Field Description private Expression
value
-
Constructor Summary
Constructors Constructor Description StructuredThrow(BytecodeLoc loc, Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canFall()
void
collectTypeUsages(TypeUsageCollector collector)
Dumper
dump(Dumper dumper)
boolean
equals(java.lang.Object o)
BytecodeLoc
getCombinedLoc()
Expression
getValue()
void
linearizeInto(java.util.List<StructuredStatement> out)
boolean
match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
void
rewriteExpressions(ExpressionRewriter expressionRewriter)
void
traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
void
transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
addLoc, alwaysDefines, canDefine, claimBlock, fallsNopToNext, findCreatedHere, getBreakableBlockOrNull, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isEffectivelyNOP, isProperlyStructured, isRecursivelyStructured, isScopeBlock, markCreator, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReverse
-
-
-
-
Field Detail
-
value
private Expression value
-
-
Constructor Detail
-
StructuredThrow
public StructuredThrow(BytecodeLoc loc, Expression value)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
getValue
public Expression getValue()
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
-
transformStructuredChildren
public void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
-
linearizeInto
public void linearizeInto(java.util.List<StructuredStatement> out)
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter)
-
traceLocalVariableScope
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
-
match
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
- Specified by:
match
in interfaceMatcher<StructuredStatement>
- Overrides:
match
in classAbstractStructuredStatement
-
canFall
public boolean canFall()
- Specified by:
canFall
in interfaceStructuredStatement
- Overrides:
canFall
in classAbstractStructuredStatement
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
-