class StackFrame {

    public void appendFileName(StringBuilder replaceBuilder) {
        if (className != null) {
            int fileNameEnd = className.indexOf('$');
            if (fileNameEnd < 0) {
                fileNameEnd = className.length();
            }
            int classNameStart = className.lastIndexOf('.');
            if (classNameStart < fileNameEnd && fileNameEnd <= className.length()) {
                replaceBuilder.append(className, classNameStart + 1, fileNameEnd);
                replaceBuilder.append(".java");
            } else {
                replaceBuilder.append("<Unknown>");
            }
        } else {
            replaceBuilder.append("<Unknown>");
        }
    }

    public  StackFrame(@Nullable String className, String methodName);

}