Skip to content

Commit

Permalink
Improve kdoc for custom{Nullable,Nonnull}Annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tbroyer committed Oct 10, 2022
1 parent 4d0c3d7 commit ed3e39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/net/ltgt/gradle/nullaway/NullAwayOptions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ open class NullAwayOptions internal constructor(
@get:Input @get:Optional
val customContractAnnotations = objectFactory.listProperty<String>()

/** A list of annotations that should be considered equivalent to `@Nullable` annotations. */
/** A list of annotations that should be considered equivalent to `@Nullable` annotations; maps to `-XepOpt:NullAway:CustomNullableAnnotations`. */
@get:Input @get:Optional
val customNullableAnnotations = objectFactory.listProperty<String>()

/** A list of annotations that should be considered equivalent to `@NonNull` annotations, for the cases where NullAway cares about such annotations (see e.g. `acknowledgeRestrictiveAnnotations`). */
/** A list of annotations that should be considered equivalent to `@NonNull` annotations, for the cases where NullAway cares about such annotations (see e.g. [acknowledgeRestrictiveAnnotations]); maps to `-XepOpt:NullAway:CustomNonnullAnnotations`. */
@get:Input @get:Optional
val customNonnullAnnotations = objectFactory.listProperty<String>()

Expand Down

0 comments on commit ed3e39b

Please sign in to comment.