Annotation Type ProtoImport


  • @Repeatable(ProtoImports.class)
    @Target(TYPE)
    @Retention(SOURCE)
    public @interface ProtoImport
    Import a generated proto-domain converter class, so generated code would be able to use its "toDomain" and "toProto" methods
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean transitive  
    • Element Detail

      • value

        java.lang.Class<?> value
      • transitive

        boolean transitive
        Default:
        true