From 8f3cc34740fcfe1572d23c8f1c1db1a309217b84 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Tue, 7 May 2024 20:26:04 +0200 Subject: Add @Subscribe annotation [no changelog] --- symbols/src/main/kotlin/Subscribe.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 symbols/src/main/kotlin/Subscribe.kt (limited to 'symbols/src/main/kotlin/Subscribe.kt') diff --git a/symbols/src/main/kotlin/Subscribe.kt b/symbols/src/main/kotlin/Subscribe.kt new file mode 100644 index 0000000..e7a7bf4 --- /dev/null +++ b/symbols/src/main/kotlin/Subscribe.kt @@ -0,0 +1,12 @@ +/* + * SPDX-FileCopyrightText: 2024 Linnea Gräf + * + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +package moe.nea.firmament.annotations + +@Target(AnnotationTarget.FUNCTION) +@Retention(AnnotationRetention.SOURCE) +annotation class Subscribe + -- cgit