private static int getBufferSize(String paramTypeName, int arrayDepth) {
        return paramTypeName.length() + (ARRAY_POSTFIX.length() * arrayDepth);
    }
duplicate : com.navercorp.pinpoint.bootstrap.plugin.jdbc.ReflectionUtils
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/util/ReflectionUtils.java