public class StructuredTry extends AbstractStructuredStatement
| Constructor and Description |
|---|
StructuredTry(Op04StructuredStatement tryBlock,
BlockIdentifier tryBlockIdentifier) |
addLoc, alwaysDefines, canDefine, canFall, claimBlock, findCreatedHere, getBreakableBlockOrNull, getContainer, getLoc, informBlockHeirachy, isEffectivelyNOP, markCreator, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReversepublic StructuredTry(Op04StructuredStatement tryBlock, BlockIdentifier tryBlockIdentifier)
public BytecodeLoc getCombinedLoc()
public void addResources(List<Op04StructuredStatement> resources)
public List<Op04StructuredStatement> getResources()
public boolean hasResources()
public Op04StructuredStatement getTryBlock()
public List<Op04StructuredStatement> getCatchBlocks()
public void clearCatchBlocks()
public void collectTypeUsages(TypeUsageCollector collector)
public boolean isProperlyStructured()
isProperlyStructured in interface StructuredStatementisProperlyStructured in class AbstractStructuredStatementpublic boolean fallsNopToNext()
fallsNopToNext in interface StructuredStatementfallsNopToNext in class AbstractStructuredStatementpublic void setFinally(Op04StructuredStatement finallyBlock)
public boolean isScopeBlock()
isScopeBlock in interface StructuredStatementisScopeBlock in class AbstractStructuredStatementpublic void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
public void linearizeInto(List<StructuredStatement> out)
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
public boolean isRecursivelyStructured()
isRecursivelyStructured in interface StructuredStatementisRecursivelyStructured in class AbstractStructuredStatementpublic Op04StructuredStatement getFinallyBlock()
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
match in interface Matcher<StructuredStatement>match in class AbstractStructuredStatementpublic void rewriteExpressions(ExpressionRewriter expressionRewriter)
public boolean inlineable()
inlineable in interface StructuredStatementinlineable in class AbstractStructuredStatementpublic BlockIdentifier getTryBlockIdentifier()
public Op04StructuredStatement getInline()
getInline in interface StructuredStatementgetInline in class AbstractStructuredStatementpublic void setTryBlock(Op04StructuredStatement tryBlock)
Copyright © 2011-2021. All Rights Reserved.