DoNotInline


@Retention(value = AnnotationRetention.BINARY)
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER])
public annotation DoNotInline


Denotes that the annotated method should not be inlined when the code is optimized at build time. This is typically used to avoid inlining purposely out-of-line methods that are intended to be in separate classes.

Example:

@DoNotInline
public
void foo() {
...
}

Summary

Public constructors

Public constructors

DoNotInline

public DoNotInline()