aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/resources/expect/functionWithAnnotatedParam
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/functionWithAnnotatedParam
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/functionWithAnnotatedParam')
-rw-r--r--plugins/base/src/test/resources/expect/functionWithAnnotatedParam/src/functionWithAnnotatedParam.kt15
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/src/functionWithAnnotatedParam.kt b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/src/functionWithAnnotatedParam.kt
index f858e671..0988d4b3 100644
--- a/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/src/functionWithAnnotatedParam.kt
+++ b/plugins/base/src/test/resources/expect/functionWithAnnotatedParam/src/functionWithAnnotatedParam.kt
@@ -1,7 +1,20 @@
@Target(AnnotationTarget.VALUE_PARAMETER)
@Retention(AnnotationRetention.SOURCE)
@MustBeDocumented
-public annotation class Fancy
+public annotation class Fancy {
+
+ override fun equals(other: Any?): Boolean {
+ return super.equals(other)
+ }
+
+ override fun hashCode(): Int {
+ return super.hashCode()
+ }
+
+ override fun toString(): String {
+ return super.toString()
+ }
+}
fun function(@Fancy notInlined: () -> Unit) {
}