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

org.immutables.fixture.deep.DeepNullable Maven / Gradle / Ivy

There is a newer version: 2.10.1
Show newest version
package org.immutables.fixture.deep;

import javax.annotation.Nullable;
import org.immutables.value.Value;

@Value.Immutable
interface DeepChild {}

@Value.Immutable
interface DeepStepChild {}

// should not use shortcut constructor (compile error) when deepImmutablesDetection
@Value.Immutable
@Value.Style(deepImmutablesDetection = true, allParameters = true)
interface DeepNullable {
  @Nullable
  DeepChild child();

  @Nullable
  DeepStepChild another();
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy