Annotation Type ConstructFrom


  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface ConstructFrom
    If builder class has no default constructor this annotation should be used to list fields that should be used to invoke constructor of the builder. Fields must be listed in the order they are passed to the constructor.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] value  
    • Element Detail

      • value

        java.lang.String[] value