FileDocCategorySizeDatePackage
DebugUtils.javaAPI DocAndroid 5.1 API1511Thu Mar 12 22:22:56 GMT 2015android.support.v4.util

DebugUtils

public class DebugUtils extends Object
Helper for accessing features in {@link android.util.DebugUtils} introduced after API level 4 in a backwards compatible fashion.
hide

Fields Summary
Constructors Summary
Methods Summary
public static voidbuildShortClassTag(java.lang.Object cls, java.lang.StringBuilder out)

        if (cls == null) {
            out.append("null");
        } else {
            String simpleName = cls.getClass().getSimpleName();
            if (simpleName == null || simpleName.length() <= 0) {
                simpleName = cls.getClass().getName();
                int end = simpleName.lastIndexOf('.");
                if (end > 0) {
                    simpleName = simpleName.substring(end+1);
                }
            }
            out.append(simpleName);
            out.append('{");
            out.append(Integer.toHexString(System.identityHashCode(cls)));
        }