Products Google APIs for Android Guides AddTrace public abstract @interface AddTrace implements Annotation An annotation when applied to a method will create a Trace object with given name and insert start() at the start of the method and stop() at the end. Public Method Summary boolean enabled() String name() Inherited Method Summary From interface java.lang.annotation.Annotation abstract Class<? extends Annotation> annotationType() abstract boolean equals(Object arg0) abstract int hashCode() abstract String toString() Public Methods public boolean enabled () public String name () Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated August 14, 2017.