Class CodegenExpressionNewAnonymousClass
java.lang.Object
com.espertech.esper.common.internal.bytecodemodel.model.statement.CodegenStatementWBlockBase
com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpressionNewAnonymousClass
- All Implemented Interfaces:
CodegenExpression
,CodegenStatement
public class CodegenExpressionNewAnonymousClass
extends CodegenStatementWBlockBase
implements CodegenExpression
-
Field Summary
Fields inherited from interface com.espertech.esper.common.internal.bytecodemodel.model.expression.CodegenExpression
EMPTYARRAY
-
Constructor Summary
ConstructorDescriptionCodegenExpressionNewAnonymousClass
(CodegenBlock parentBlock, EPTypeClass interfaceOrSuperClass, List<CodegenExpression> ctorParams) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMethod
(String name, CodegenMethod methodNode) void
mergeClasses
(Set<Class> classes) void
render
(StringBuilder builder, Map<Class, String> imports, boolean isInnerClass) void
render
(StringBuilder builder, Map<Class, String> imports, boolean isInnerClass, int level, CodegenIndent indent) void
traverseExpressions
(Consumer<CodegenExpression> consumer) Methods inherited from class com.espertech.esper.common.internal.bytecodemodel.model.statement.CodegenStatementWBlockBase
getParent
-
Constructor Details
-
CodegenExpressionNewAnonymousClass
public CodegenExpressionNewAnonymousClass(CodegenBlock parentBlock, EPTypeClass interfaceOrSuperClass, List<CodegenExpression> ctorParams)
-
-
Method Details
-
render
public void render(StringBuilder builder, Map<Class, String> imports, boolean isInnerClass, int level, CodegenIndent indent) - Specified by:
render
in interfaceCodegenStatement
-
render
- Specified by:
render
in interfaceCodegenExpression
-
mergeClasses
- Specified by:
mergeClasses
in interfaceCodegenExpression
- Specified by:
mergeClasses
in interfaceCodegenStatement
-
traverseExpressions
- Specified by:
traverseExpressions
in interfaceCodegenExpression
- Specified by:
traverseExpressions
in interfaceCodegenStatement
-
addMethod
-