public class SrcSwitchStatement extends SrcStatement<SrcSwitchStatement>
INDENT
Constructor and Description |
---|
SrcSwitchStatement() |
Modifier and Type | Method and Description |
---|---|
SrcSwitchStatement |
addCase(SrcSwitchCase aCase) |
SrcSwitchStatement |
defaultCase(SrcStatement defaultStmt) |
SrcSwitchStatement |
expr(SrcExpression expr) |
StringBuilder |
render(StringBuilder sb,
int indent) |
StringBuilder |
render(StringBuilder sb,
int indent,
boolean sameLine) |
addAnnotation, addAnnotation, addAnnotation, addParam, addParam, addParam, addParam, clearUserData, computeOrGetUserData, forwardParameters, getAnnotation, getAnnotations, getModifiers, getParameters, getSimpleName, getUserData, hasAnnotation, hasAnnotation, insertParam, modifiers, modifiers, modifiersFrom, name, removeUserData, renderAnnotations, renderAnnotations, renderArgumenets, renderModifiers, renderModifiers, renderParameters, renderParameters, withUserData
getOwner, indent, makeCompileTimeConstantValue, setOwner, toString
public SrcSwitchStatement expr(SrcExpression expr)
public SrcSwitchStatement defaultCase(SrcStatement defaultStmt)
public SrcSwitchStatement addCase(SrcSwitchCase aCase)
public StringBuilder render(StringBuilder sb, int indent)
render
in class SrcElement
public StringBuilder render(StringBuilder sb, int indent, boolean sameLine)
Copyright © 2024. All rights reserved.