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

org.immutables.fixture.annotation.FallbackNullable Maven / Gradle / Ivy

There is a newer version: 2.10.1
Show newest version
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy