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

Keep

public abstract @interface Keep
implements Annotation

android.support.annotation.Keep


Denotes that the annotated element should not be removed when the code is minified at build time. This is typically used on methods and classes that are accessed only via reflection so a compiler may think that the code is unused.

Example:


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

Summary

Inherited methods

From interface java.lang.annotation.Annotation