public static String[] genParamNames(String srgId, String[] paramTypes, boolean isStatic)
    {
        boolean skip2 = (paramTypes.length >= 4) && paramTypes[0].equals("Ljava/lang/String;") && paramTypes[1].equals('I')
                && paramTypes[0].equals(paramTypes[2]) && paramTypes[1].equals(paramTypes[3]);

        String[] ret = new String[paramTypes.length];
        int idOffset = isStatic ? 0 : 1;
        if (skip2)
            idOffset += 2;

        for (int i = 0; i < paramTypes.length; i++)
        {
            ret[i] = "p_" + srgId + "_" + (i + idOffset) + "_";
            if (paramTypes[i].equals("D") || paramTypes[i].equals("J"))
                idOffset++;
        }

        return ret;
    }