Klippable

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Klippable

Annotation to mark functions to be picked up by the compiler plugin. If marked function contains optionally nullable KlipContext type argument, it will be injected by the compiler. Otherwise, an additional KlipContext parameter will be prepended at the very start of the call arguments list.

@Klippable
fun klippable(..., _context: KlipContext? = null)

See also

Constructors

Link copied to clipboard
fun Klippable()