public class ImplementMeMethodBodyRule extends Object implements Rule<CodeModelHelper.JExtMethod,com.sun.codemodel.JMethod,ApiActionMetadata>
| Constructor and Description |
|---|
ImplementMeMethodBodyRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JMethod |
apply(ApiActionMetadata endpointMetadata,
CodeModelHelper.JExtMethod generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
public com.sun.codemodel.JMethod apply(ApiActionMetadata endpointMetadata, CodeModelHelper.JExtMethod generatableType)
Ruleapply in interface Rule<CodeModelHelper.JExtMethod,com.sun.codemodel.JMethod,ApiActionMetadata>endpointMetadata - The meta data from which the code is build.generatableType - A code generation construct to which this rule should be appliedCopyright © 2017. All rights reserved.