Class CapturedInitCode

java.lang.Object
io.ebean.enhance.entity.CapturedInitCode

public final class CapturedInitCode extends Object
Code that initialises a transient field.

Added into a default constructor when that is added to an entity bean.

  • Method Details

    • name

      public String name()
      Return the field name.
    • type

      public String type()
      Return the concrete type the field is initialised to.
    • write

      public void write(io.ebean.enhance.entity.ConstructorAdapter mv)
      Write the code that initialises the field.
    • mismatch

      public String mismatch(String type2)