Package deltix.qsrv.hf.codec.cg
Class QVariableContainerLookup
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QVariableContainer
-
- deltix.qsrv.hf.codec.cg.QVariableContainerLookup
-
public class QVariableContainerLookup extends QVariableContainer
Adds variable lookup to QVariableContainer
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QVariableContainer
container, isEncoding, modifiers
-
-
Constructor Summary
Constructors Constructor Description QVariableContainerLookup(int modifiers, JVariableContainer container)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JExpr
addAccessor(JType type, java.lang.String name, JMemberVariable var, JStatement initializer)
JExpr
addAccessor(java.lang.Class<?> type, java.lang.String name, JMemberVariable var, JStatement initializer)
JClass
addInnerClass(int modifiers, java.lang.String simpleName, java.lang.Class<?> parent)
JVariable
addVar(int modifiers, JType type, java.lang.String name)
JVariable
addVar(int modifiers, java.lang.Class<?> type, java.lang.String name)
JVariable
addVar(JType type, java.lang.String name)
JVariable
addVar(JType type, java.lang.String name, JExpr initValue)
JVariable
addVar(java.lang.Class<?> type, java.lang.String name)
JVariable
addVar(java.lang.Class<?> type, java.lang.String name, JExpr initValue)
static java.lang.String
getAccessorName(java.lang.String name)
JCompoundStatement
getInitStmt()
JExpr
lookupAccessor(java.lang.String name)
JClass
lookupInnerClass(java.lang.String name)
JVariable
lookupVar(java.lang.String name)
-
-
-
Constructor Detail
-
QVariableContainerLookup
public QVariableContainerLookup(int modifiers, JVariableContainer container)
-
-
Method Detail
-
addAccessor
public JExpr addAccessor(JType type, java.lang.String name, JMemberVariable var, JStatement initializer)
-
getAccessorName
public static java.lang.String getAccessorName(java.lang.String name)
-
addAccessor
public JExpr addAccessor(java.lang.Class<?> type, java.lang.String name, JMemberVariable var, JStatement initializer)
-
addVar
public JVariable addVar(java.lang.Class<?> type, java.lang.String name)
-
addVar
public JVariable addVar(int modifiers, java.lang.Class<?> type, java.lang.String name)
-
lookupAccessor
public JExpr lookupAccessor(java.lang.String name)
-
lookupVar
public JVariable lookupVar(java.lang.String name)
-
getInitStmt
public JCompoundStatement getInitStmt()
-
lookupInnerClass
public JClass lookupInnerClass(java.lang.String name)
-
addInnerClass
public JClass addInnerClass(int modifiers, java.lang.String simpleName, java.lang.Class<?> parent)
-
-