public class MethodCommentRule extends Object implements Rule<com.sun.codemodel.JMethod,com.sun.codemodel.JDocComment,ApiActionMetadata>
| Constructor and Description |
|---|
MethodCommentRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDocComment |
apply(ApiActionMetadata endpointMetadata,
com.sun.codemodel.JMethod generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
public com.sun.codemodel.JDocComment apply(ApiActionMetadata endpointMetadata, com.sun.codemodel.JMethod generatableType)
Ruleapply in interface Rule<com.sun.codemodel.JMethod,com.sun.codemodel.JDocComment,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.