From 1183e09a7123c8f9665248235c5e33ba28e92780 Mon Sep 17 00:00:00 2001 From: Andrzej Ratajczak Date: Tue, 9 Jun 2020 09:50:20 +0200 Subject: Hides internal annotations from rendering #947 --- core/src/main/kotlin/model/aditionalExtras.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/main/kotlin/model') diff --git a/core/src/main/kotlin/model/aditionalExtras.kt b/core/src/main/kotlin/model/aditionalExtras.kt index b4355d4b..94d0e751 100644 --- a/core/src/main/kotlin/model/aditionalExtras.kt +++ b/core/src/main/kotlin/model/aditionalExtras.kt @@ -29,7 +29,7 @@ class Annotations(val content: SourceSetDependent>) : ExtraProp override val key: ExtraProperty.Key = Annotations - data class Annotation(val dri: DRI, val params: Map) { + data class Annotation(val dri: DRI, val params: Map, val mustBeDocumented: Boolean = false) { override fun equals(other: Any?): Boolean = when (other) { is Annotation -> dri == other.dri else -> false -- cgit