Class MethodWithStringBody
java.lang.Object
org.drools.model.codegen.execmodel.generator.declaredtype.api.MethodWithStringBody
- All Implemented Interfaces:
MethodDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(String name) addParameter(String key, String value) getBody()booleanisPublic()booleanisStatic()
-
Constructor Details
-
MethodWithStringBody
-
-
Method Details
-
getMethodName
- Specified by:
getMethodNamein interfaceMethodDefinition
-
getReturnType
- Specified by:
getReturnTypein interfaceMethodDefinition
-
getBody
- Specified by:
getBodyin interfaceMethodDefinition
-
isStatic
public boolean isStatic()- Specified by:
isStaticin interfaceMethodDefinition
-
isPublic
public boolean isPublic()- Specified by:
isPublicin interfaceMethodDefinition
-
addParameter
-
parameters
- Specified by:
parametersin interfaceMethodDefinition
-
addAnnotation
-
getAnnotations
- Specified by:
getAnnotationsin interfaceMethodDefinition
-