String (@NotNull String className, @NotNull ReflectiveSignature methodSignature) { // Return type of the constructor should be 'void'. If it isn't so let's make that mistake more noticeable. final String returnType = methodSignature.getShortReturnType(); final String fakeReturnType = !PsiKeyword.VOID.equals(returnType) ? returnType + " " : ""; return fakeReturnType + className + methodSignature.getShortArgumentTypes(); }