Class CodegenSetterBuilder
java.lang.Object
com.espertech.esper.common.internal.bytecodemodel.base.CodegenSetterBuilder
-
Constructor Summary
ConstructorDescriptionCodegenSetterBuilder
(EPTypeClass returnType, Class originator, String refName, CodegenClassScope classScope, CodegenMethod method) CodegenSetterBuilder
(EPTypeClass returnType, Class originator, String refName, CodegenClassScope classScope, CodegenMethod method, CodegenExpression initializer) CodegenSetterBuilder
(EPTypeClass returnType, Class originator, String refName, CodegenMethodScope parent, CodegenClassScope classScope) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
constantDefaultChecked
(String name, boolean value) constantDefaultChecked
(String name, int value) constantDefaultChecked
(String name, Boolean value) constantDefaultChecked
(String name, Integer value) constantDefaultCheckedObj
(String name, Object value) constantExplicit
(String name, Object value) expression
(String name, CodegenExpression expression) expressionDefaultChecked
(String name, CodegenExpression expression) map
(String name, Map<String, I> values, CodegenSetterBuilderItemConsumer<I> consumer) mapOfConstants
(String name, Map<String, ?> values) method
(String name, Function<CodegenMethod, CodegenExpression> expressionFunc)
-
Constructor Details
-
CodegenSetterBuilder
public CodegenSetterBuilder(EPTypeClass returnType, Class originator, String refName, CodegenMethodScope parent, CodegenClassScope classScope) -
CodegenSetterBuilder
public CodegenSetterBuilder(EPTypeClass returnType, Class originator, String refName, CodegenClassScope classScope, CodegenMethod method) -
CodegenSetterBuilder
public CodegenSetterBuilder(EPTypeClass returnType, Class originator, String refName, CodegenClassScope classScope, CodegenMethod method, CodegenExpression initializer)
-
-
Method Details
-
constantExplicit
-
constantDefaultChecked
-
constantDefaultChecked
-
constantDefaultChecked
-
constantDefaultChecked
-
constantDefaultCheckedObj
-
expressionDefaultChecked
-
expression
-
method
public CodegenSetterBuilder method(String name, Function<CodegenMethod, CodegenExpression> expressionFunc) -
mapOfConstants
-
map
public <I> CodegenSetterBuilder map(String name, Map<String, I> values, CodegenSetterBuilderItemConsumer<I> consumer) -
getRefName
-
build
-
getMethod
-