public class StructuredAssert extends AbstractStructuredStatement
Modifier and Type | Field and Description |
---|---|
private Expression |
arg |
private ConditionalExpression |
conditionalExpression |
Modifier | Constructor and Description |
---|---|
private |
StructuredAssert(BytecodeLoc loc,
ConditionalExpression conditionalExpression,
Expression arg) |
Modifier and Type | Method and Description |
---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper dumper) |
BytecodeLoc |
getCombinedLoc() |
StructuredStatement |
informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers) |
boolean |
isRecursivelyStructured() |
void |
linearizeInto(java.util.List<StructuredStatement> out) |
boolean |
match(MatchIterator<StructuredStatement> matchIterator,
MatchResultCollector matchResultCollector) |
static StructuredAssert |
mkStructuredAssert(BytecodeLoc loc,
ConditionalExpression conditionalExpression,
Expression arg) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter) |
void |
traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer) |
void |
transformStructuredChildren(StructuredStatementTransformer transformer,
StructuredScope scope) |
addLoc, alwaysDefines, canDefine, canFall, claimBlock, fallsNopToNext, findCreatedHere, getBreakableBlockOrNull, getContainer, getInline, getLoc, inlineable, isEffectivelyNOP, isProperlyStructured, isScopeBlock, markCreator, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReverse
private ConditionalExpression conditionalExpression
private Expression arg
private StructuredAssert(BytecodeLoc loc, ConditionalExpression conditionalExpression, Expression arg)
public static StructuredAssert mkStructuredAssert(BytecodeLoc loc, ConditionalExpression conditionalExpression, Expression arg)
public BytecodeLoc getCombinedLoc()
public void collectTypeUsages(TypeUsageCollector collector)
public StructuredStatement informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers)
informBlockHeirachy
in interface StructuredStatement
informBlockHeirachy
in class AbstractStructuredStatement
public void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
public void linearizeInto(java.util.List<StructuredStatement> out)
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
public boolean isRecursivelyStructured()
isRecursivelyStructured
in interface StructuredStatement
isRecursivelyStructured
in class AbstractStructuredStatement
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
match
in interface Matcher<StructuredStatement>
match
in class AbstractStructuredStatement
public void rewriteExpressions(ExpressionRewriter expressionRewriter)