Class ConstructorTemplate.fieldAssignment

java.lang.Object
de.japkit.test.members.constructor.ConstructorTemplate.fieldAssignment
Enclosing class:
ConstructorTemplate

@CodeFragment(code="this.#{name} = #{fieldAssignmentRhs()};")
class ConstructorTemplate.fieldAssignment
extends java.lang.Object
The CodeFragment to create a field assignment within the constructor. It expects the field (from the annotated class) as current src.

For generating the right hand side of the assignment, another code fragment is called: ConstructorTemplate.fieldAssignmentRhs.

  • Constructor Summary

    Constructors 
    Constructor Description
    fieldAssignment()  
  • Method Summary

    Methods inherited from class java.lang.Object

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