Class CodegenStatementDeclareVar
java.lang.Object
com.espertech.esper.common.internal.bytecodemodel.model.statement.CodegenStatementBase
com.espertech.esper.common.internal.bytecodemodel.model.statement.CodegenStatementDeclareVar
- All Implemented Interfaces:
CodegenStatement
-
Constructor Summary
ConstructorDescriptionCodegenStatementDeclareVar
(EPTypeClass clazz, String var, CodegenExpression optionalInitializer) CodegenStatementDeclareVar
(String typeName, String var, CodegenExpression optionalInitializer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
mergeClasses
(Set<Class> classes) void
renderStatement
(StringBuilder builder, Map<Class, String> imports, boolean isInnerClass) void
traverseExpressions
(Consumer<CodegenExpression> consumer) Methods inherited from class com.espertech.esper.common.internal.bytecodemodel.model.statement.CodegenStatementBase
render
-
Constructor Details
-
CodegenStatementDeclareVar
public CodegenStatementDeclareVar(EPTypeClass clazz, String var, CodegenExpression optionalInitializer) -
CodegenStatementDeclareVar
public CodegenStatementDeclareVar(String typeName, String var, CodegenExpression optionalInitializer)
-
-
Method Details
-
renderStatement
- Specified by:
renderStatement
in classCodegenStatementBase
-
mergeClasses
-
traverseExpressions
-