All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.immutables.fixture.with.Enc Maven / Gradle / Ivy

package org.immutables.fixture.with;

import java.util.Optional;
import com.google.common.collect.Multimap;
import org.immutables.value.Value;

@Value.Enclosing
public interface Enc {
  // disabling builder and copy will have no effect on on-demand generation
  @Value.Immutable(builder = false, copy = false)
  interface Suppied extends ImmutableEnc.WithSuppied {
    String a();

    T num();

    Multimap mm();

    Optional opt();

    class Builder extends ImmutableEnc.Suppied.Builder {}
  }

  static void use() {
    new Suppied.Builder()
        .a("a")
        .num(0b1111L)
        .build();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy