Google 致力于为黑人社区推动种族平等。查看具体举措

DoNotInline

public abstract @interface DoNotInline
implements Annotation

androidx.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

Inherited methods