Relaxer

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

Determines a Relaxer (optional). The Processor will use only the first specified relaxer. Note: The relaxer must match the following form or the Processor fails:

fun <T> relax(id: String): T {
...
}

or:

inline fun <reified T> relax(id: String): T {
...
}

The Processor will delegate the id of the Proxy which will invoke the Relaxer.

Author

Matthias Geisler

See also

tech.antibytes.kmock.KMockContract.Relaxer

Constructors

Relaxer
Link copied to clipboard
common
fun Relaxer()