Class ClassNamePrefixTemplate

java.lang.Object
de.japkit.test.classname.ClassNamePrefixTemplate

@Clazz(namePrefixToPrepend="Generated",
       namePrefixToRemove="I",
       nameSuffixToAppend="",
       commentExpr="The generated class for the example.")
@RuntimeMetadata
public class ClassNamePrefixTemplate
extends java.lang.Object
In this example the custom prefix "Generated" is used for the name of the generated class. Before appending it, the prefix "I" (like in "interface") is removed from the name of the annotated class. Furthermore, the default suffix "Gen" is overwritten with an empty string. So, for the annotated class IClassNamePrefixExample the class GeneratedClassNamePrefixExample will be generated in the same package.
  • Constructor Summary

    Constructors 
    Constructor Description
    ClassNamePrefixTemplate()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait