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 Expressionvalue
-
Constructor Summary
Constructors Constructor Description StructuredThrow(BytecodeLoc loc, Expression value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanFall()voidcollectTypeUsages(TypeUsageCollector collector)Dumperdump(Dumper dumper)booleanequals(java.lang.Object o)BytecodeLocgetCombinedLoc()ExpressiongetValue()voidlinearizeInto(java.util.List<StructuredStatement> out)booleanmatch(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)voidrewriteExpressions(ExpressionRewriter expressionRewriter)voidtraceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)voidtransformStructuredChildren(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:
matchin interfaceMatcher<StructuredStatement>- Overrides:
matchin classAbstractStructuredStatement
-
canFall
public boolean canFall()
- Specified by:
canFallin interfaceStructuredStatement- Overrides:
canFallin classAbstractStructuredStatement
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-