Package deltix.util.jcg
Interface JCompoundStatement
-
- All Superinterfaces:
JStatement
,JVariableContainer
- All Known Subinterfaces:
JSwitchStatement
- All Known Implementing Classes:
JCompStmtImpl
public interface JCompoundStatement extends JStatement, JVariableContainer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(JExpr e)
void
add(JStatement stmt)
void
addComment(java.lang.String text)
void
addFront(JStatement stmt)
JLocalVariable
addVar(int modifiers, JType type, JType[] typeArgs, java.lang.String name, JExpr initValue)
JLocalVariable
addVar(int modifiers, JType type, java.lang.String name)
JLocalVariable
addVar(int modifiers, JType type, java.lang.String name, JExpr initValue)
JLocalVariable
addVar(int modifiers, java.lang.Class<?> type, java.lang.String name)
JLocalVariable
addVar(int modifiers, java.lang.Class<?> type, java.lang.String name, JExpr initValue)
boolean
isEmpty()
-
Methods inherited from interface deltix.util.jcg.JVariableContainer
addVar
-
-
-
-
Method Detail
-
add
void add(JStatement stmt)
-
addFront
void addFront(JStatement stmt)
-
add
void add(JExpr e)
-
addComment
void addComment(java.lang.String text)
- Specified by:
addComment
in interfaceJVariableContainer
-
isEmpty
boolean isEmpty()
-
addVar
JLocalVariable addVar(int modifiers, JType type, java.lang.String name)
- Specified by:
addVar
in interfaceJVariableContainer
-
addVar
JLocalVariable addVar(int modifiers, JType type, java.lang.String name, JExpr initValue)
- Specified by:
addVar
in interfaceJVariableContainer
-
addVar
JLocalVariable addVar(int modifiers, java.lang.Class<?> type, java.lang.String name)
- Specified by:
addVar
in interfaceJVariableContainer
-
addVar
JLocalVariable addVar(int modifiers, java.lang.Class<?> type, java.lang.String name, JExpr initValue)
- Specified by:
addVar
in interfaceJVariableContainer
-
addVar
JLocalVariable addVar(int modifiers, JType type, JType[] typeArgs, java.lang.String name, JExpr initValue)
-
-