All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.justai.jaicf.plugin.UsesReaction.kt Maven / Gradle / Ivy

Go to download

JAICF-Kotlin Core component. Provides DSL, Tests API and multiple implementable interfaces.

There is a newer version: 1.3.8
Show newest version
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