org.immutables.fixture.annotation.FallbackNullable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of value-fixture Show documentation
Show all versions of value-fixture Show documentation
Module that contains all tests for the code generation capability
package org.immutables.fixture.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.Optional;
import org.immutables.value.Value;
@Retention(RetentionPolicy.RUNTIME)
@interface Nil {}
@Value.Immutable
@Value.Style(optionalAcceptNullable = true, fallbackNullableAnnotation = Nil.class, nullableAnnotation = "Nil")
public interface FallbackNullable {
Optional jdkOptional();
@Nil String nullable();
}