public abstract class AbstractCodeFactory extends Object implements ICodeFactory
ICodeFactory.ParameterTRACE_MODULE_WRAPPER| Constructor and Description |
|---|
AbstractCodeFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
createFunctionCall(Method method,
Object... parameters)
Create code to call a wrapped function.
|
String |
getDefaultValue(ICodeFactory.Parameter parameter)
Get the default value for a given parameter
|
static Collection<String> |
getMethodNames(Method method) |
static String |
getPostExecutionCode(IEnvironment environment,
Method method) |
static String |
getPreExecutionCode(IEnvironment environment,
Method method) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassInstantiation, createFinalFieldWrapper, createFunctionWrapper, getSaveVariableNamepublic String getDefaultValue(ICodeFactory.Parameter parameter)
ICodeFactorygetDefaultValue in interface ICodeFactoryparameter - parameter to get default value forpublic static Collection<String> getMethodNames(Method method)
public static String getPreExecutionCode(IEnvironment environment, Method method)
public static String getPostExecutionCode(IEnvironment environment, Method method)
public String createFunctionCall(Method method, Object... parameters)
ICodeFactoryICodeFactory.createFunctionWrapper(IEnvironment, String, Method) before.createFunctionCall in interface ICodeFactorymethod - method to be calledparameters - call parameters