- All Implemented Interfaces:
- VisitorContributor<com.sun.source.tree.MethodInvocationTree,JS,GenerationContext<JS>,WriterVisitor<JS>>, WriterContributor<com.sun.source.tree.MethodInvocationTree,JS>
public class SuffixTemplate<JS>
extends Object
implements WriterContributor<com.sun.source.tree.MethodInvocationTree,JS>
This template can be used to suffix the name of a method that can be Java keyword.
When used without parameters as @Template("suffix"), this template simply strips the
trailing character of the Java method name
method_() => method() or method$() => method()
When used with a single parameters, this template removes the last param.length characters
- Author:
- acraciun