Class ImmutablesBuilderProvider

  • All Implemented Interfaces:

    @Experimental("The Immutables builder provider might change in a subsequent release")
    public class ImmutablesBuilderProvider
    extends DefaultBuilderProvider
    Builder provider for Immutables. A custom provider is needed because Immutables creates an implementation of an interface and that implementation has the builder. This implementation would try to find the type created by Immutables and would look for the builder in it. Only types annotated with the org.immutables.value.Value.Immutable are considered for this discovery.
    Filip Hrisafov