DoNotInline

@Retention(value = CLASS)  @Target(value = ) 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() {
     ...
 }