String (PsiMethodCallExpression call, String qualifierText, String qualifierTypeText) { String methodNameText; String callName = call.getMethodExpression().getReferenceName(); if (HASH_CODE.test(call)) { methodNameText = "hashCode"; } else if (TO_STRING.test(call)) { methodNameText = "toString"; } else if ("isInfinite".equals(callName)) { methodNameText = "isInfinite"; } else if ("isNaN".equals(callName)) { methodNameText = "isNaN"; } else { methodNameText = null; } if (methodNameText != null) { return qualifierTypeText + "." + methodNameText + "(" + qualifierText + ")"; } String type; if ("intValue".equals(callName)) { type = "int"; } else if ("byteValue".equals(callName)) { type = "byte"; } else if ("floatValue".equals(callName)) { type = "float"; } else if ("doubleValue".equals(callName)) { type = "double"; } else if ("shortValue".equals(callName)) { type = "short"; } else { return null; } return "(" + type + ")" + qualifierText; }