private static String classSimpleName(String stackLine) {
        int index1 = stackLine.indexOf('(');
        int index2 = stackLine.indexOf(')');
        if (index1 >= 0 && index2 >= 0) {
            return stackLine.substring(index1 + 1, index2);
        }
        return stackLine;
    }
Get key stack string to show as title in ui list.
blockcanary-android/src/main/java/com/github/moduth/blockcanary/ui/BlockCanaryUtils.java