Class SourceTemplate.FieldAndMethod

java.lang.Object
de.japkit.test.members.common.source.SourceTemplate.FieldAndMethod
Enclosing class:
SourceTemplate

@Template(srcFun=fields.class)
class SourceTemplate.FieldAndMethod
extends java.lang.Object
If multiple elements shall be generated for the same src, they can be grouped by a template. Note that this will not generate an inner class inadvertently, since this would require an InnerClass annotation.

Here, we generate a method and a field for every field in the annotated class.

Templates can also be nested.

  • Field Summary

    Fields 
    Modifier and Type Field Description
    (package private) de.japkit.functions.SrcType $simpleName$Copy6
    A field for every element in the src collection of SourceTemplate.FieldAndMethod template.
  • Constructor Summary

    Constructors 
    Constructor Description
    FieldAndMethod()  
  • Method Summary

    Modifier and Type Method Description
    (package private) void set$simpleName$​(de.japkit.functions.SrcType $simpleName$)
    A method for every element in the src collection of SourceTemplate.FieldAndMethod template.

    Methods inherited from class java.lang.Object

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