Class CodegenMethod
java.lang.Object
com.espertech.esper.common.internal.bytecodemodel.base.CodegenMethod
- All Implemented Interfaces:
CodegenMethodScope
- Direct Known Subclasses:
CodegenCtor
-
Constructor Summary
ModifierConstructorDescriptionprotected
CodegenMethod
(EPTypeClass returnPType, String returnTypeName, Class generator, CodegenSymbolProvider optionalSymbolProvider, CodegenScope env) -
Method Summary
Modifier and TypeMethodDescriptionaddParam
(EPTypeClass type, String name) addParam
(List<CodegenNamedParam> params) addSymbol
(CodegenExpressionRef symbol) addThrown
(EPTypeClass throwableClass) getBlock()
boolean
isStatic()
makeChild
(EPTypeClass returnType, Class generator, CodegenScope env) makeChild
(String returnType, Class generator, CodegenScope env) makeChildWithScope
(EPTypeClass returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) makeChildWithScope
(String returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) static CodegenMethod
makeParentNode
(EPTypeClass returnType, Class generator, CodegenScope env) static CodegenMethod
makeParentNode
(EPTypeClass returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) static CodegenMethod
makeParentNode
(String returnTypeName, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) void
mergeClasses
(Set<Class> classes) void
setAssignedMethod
(CodegenMethodWGraph assignedMethod) void
setAssignedProviderClassName
(String assignedProviderClassName) void
setDeepParameters
(Set<String> deepParameters) setStatic
(boolean aStatic) toString()
void
traverseExpressions
(Consumer<CodegenExpression> consumer)
-
Constructor Details
-
CodegenMethod
protected CodegenMethod(EPTypeClass returnPType, String returnTypeName, Class generator, CodegenSymbolProvider optionalSymbolProvider, CodegenScope env)
-
-
Method Details
-
makeParentNode
public static CodegenMethod makeParentNode(EPTypeClass returnType, Class generator, CodegenScope env) -
makeParentNode
public static CodegenMethod makeParentNode(EPTypeClass returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) -
makeParentNode
public static CodegenMethod makeParentNode(String returnTypeName, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) -
makeChild
- Specified by:
makeChild
in interfaceCodegenMethodScope
-
makeChild
- Specified by:
makeChild
in interfaceCodegenMethodScope
-
makeChildWithScope
public CodegenMethod makeChildWithScope(EPTypeClass returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) - Specified by:
makeChildWithScope
in interfaceCodegenMethodScope
-
makeChildWithScope
public CodegenMethod makeChildWithScope(String returnType, Class generator, CodegenSymbolProvider symbolProvider, CodegenScope env) -
addSymbol
- Specified by:
addSymbol
in interfaceCodegenMethodScope
-
mergeClasses
-
traverseExpressions
-
getOptionalSymbolProvider
-
getChildren
-
getEnvironment
-
getReturnType
-
getReturnTypeName
-
getAdditionalDebugInfo
-
getBlock
-
getLocalParams
-
addParam
-
addParam
-
addParam
-
addThrown
-
getThrown
-
getDeepParameters
-
setDeepParameters
-
getAssignedMethod
-
setAssignedMethod
-
setAssignedProviderClassName
-
setStatic
-
isStatic
public boolean isStatic() -
getAssignedProviderClassName
-
toString
-