Annotation Type ProtoConstructor


  • @Target(CONSTRUCTOR)
    @Retention(SOURCE)
    public @interface ProtoConstructor
    Used with conjunction of ProtoField. It annotates a constructor which has all of its parameters annotated with ProtoField. Useful for immutable classes rather than POJOs