Package gw.lang

Annotation Type Autocreate


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    @Inherited
    public @interface Autocreate
    Properties that are null and are annotated with @Autocreate will be populated automatically during an assignment of a subproperty. If a block is supplied, the block will be called to create the new object, otherwise the parameterless contructor will be used. Copyright 2013 Guidewire Software, Inc.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<? extends Callable> value  
    • Element Detail

      • value

        Class<? extends Callable> value
        Default:
        java.util.concurrent.Callable.class