T - The type of the source code item on which this rule can operate. E.g. JClass.R - The type of the source code item generated by this rule. E.g. JMethod.M - The type of the meta data that this rule should operate on. E.g ApiControllerMetadata.public interface Rule<T,R,M>
| Modifier and Type | Method and Description |
|---|---|
R |
apply(M metadata,
T generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
R apply(M metadata, T generatableType)
metadata - 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.