org.immutables.fixture.deep.DeepNullable 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.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();
}