aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
diff options
context:
space:
mode:
authorBłażej Kardyś <bkardys@virtuslab.com>2020-03-24 23:10:27 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-03-30 16:42:49 +0200
commitca2d5042c608951cd2f12ccc324543b59b7cc154 (patch)
tree48ac7c3e97fac8b33d391d9a19c2675035386d57 /plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters
parentaad9a75c6ace63e883c8f737a9c4bd0933688adf (diff)
downloaddokka-ca2d5042c608951cd2f12ccc324543b59b7cc154.tar.gz
dokka-ca2d5042c608951cd2f12ccc324543b59b7cc154.tar.bz2
dokka-ca2d5042c608951cd2f12ccc324543b59b7cc154.zip
Restricting pages generation for inherited functions
Diffstat (limited to 'plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters')
-rw-r--r--plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt14
1 files changed, 13 insertions, 1 deletions
diff --git a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt
index e559713a..2f872c11 100644
--- a/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt
+++ b/plugins/base/src/test/resources/expect/annotatedFunctionWithAnnotationParameters/src/annotatedFunctionWithAnnotationParameters.kt
@@ -1,7 +1,19 @@
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
-public annotation class Fancy(val size: Int)
+public annotation class Fancy(val size: Int) {
+ override fun equals(other: Any?): Boolean {
+ return super.equals(other)
+ }
+
+ override fun hashCode(): Int {
+ return super.hashCode()
+ }
+
+ override fun toString(): String {
+ return super.toString()
+ }
+}
@Fancy(1) fun f() {}