public class StructuredComment extends AbstractStructuredStatement
Modifier and Type | Field and Description |
---|---|
static StructuredComment |
EMPTY_COMMENT |
private Expression |
expression |
Constructor and Description |
---|
StructuredComment(Expression expression) |
StructuredComment(java.lang.String text) |
Modifier and Type | Method and Description |
---|---|
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper dumper) |
BytecodeLoc |
getCombinedLoc() |
boolean |
isEffectivelyNOP() |
void |
linearizeInto(java.util.List<StructuredStatement> out) |
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, informBlockHeirachy, inlineable, isProperlyStructured, isRecursivelyStructured, isScopeBlock, markCreator, match, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReverse
public static final StructuredComment EMPTY_COMMENT
private Expression expression
public StructuredComment(Expression expression)
public StructuredComment(java.lang.String text)
public BytecodeLoc getCombinedLoc()
public void collectTypeUsages(TypeUsageCollector collector)
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
public void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
public void linearizeInto(java.util.List<StructuredStatement> out)
public void rewriteExpressions(ExpressionRewriter expressionRewriter)
public boolean isEffectivelyNOP()
isEffectivelyNOP
in interface StructuredStatement
isEffectivelyNOP
in class AbstractStructuredStatement