String (@NonNls String methodName, AssertHint assertHint, String args) { final PsiExpression message = assertHint.getMessage(); final StringBuilder newExpression = new StringBuilder(); addStaticImportOrQualifier(methodName, assertHint, newExpression); newExpression.append(methodName).append('('); final int index = assertHint.getArgIndex(); if (message != null && index != 0) { newExpression.append(message.getText()).append(','); } newExpression.append(args); if (message != null && index == 0) { newExpression.append(',').append(message.getText()); } newExpression.append(')'); return newExpression.toString(); }