JavaNullable

Entries

Link copied to clipboard

Fields will be generated with the same type and no annotations whether they are nullable or not. This is the default value.

Link copied to clipboard

Fields will be generated as Apollo's com.apollographql.apollo.api.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated as Java's java.util.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated as Guava's com.google.common.base.Optional<Type> if nullable, or Type if not.

Link copied to clipboard

Fields will be generated with JetBrain's org.jetbrains.annotations.Nullable annotation if nullable, or org.jetbrains.annotations.NotNull if not.

Link copied to clipboard

Fields will be generated with Android's androidx.annotation.Nullable annotation if nullable, or androidx.annotation.NonNull if not.

Link copied to clipboard

Fields will be generated with JSR 305's javax.annotation.Nullable annotation if nullable, or javax.annotation.Nonnull if not.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.