![JAR search and dependency download from the Maven repository](/logo.png)
com.justai.jaicf.plugin.UsesReaction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
JAICF-Kotlin Core component. Provides DSL, Tests API and multiple implementable interfaces.
package com.justai.jaicf.plugin
/**
* This annotation indicates that the Reactions and derived classes extension function uses a reaction that must
* be redefined to work correctly.
* The plugin inspects that the method is overridden
*
* Example:
* ```
* @UsesReaction("image")
* fun Reactions.myImage(url: String): ImageReaction { ... }
* ```
*/
@Repeatable
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.SOURCE)
annotation class UsesReaction(val name: String)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy