code: private void generateCreateMessageBlock(SourceWriter sourceWriter, boolean hasArguments) {
  
      // return NlsAccess.getFactory().create(message, arguments);
      if (hasArguments) {
        sourceWriter.print("return ");
        sourceWriter.print(NlsAccess.class.getSimpleName());
        sourceWriter.print(".getFactory().create(");
        sourceWriter.print(VARIABLE_MESSAGE);
        sourceWriter.print(", ");
        sourceWriter.print(VARIABLE_ARGUMENTS);
        sourceWriter.println(");");
      } else {
        sourceWriter.print("return new ");
        sourceWriter.print(NlsMessagePlain.class.getSimpleName());
        sourceWriter.print("(");
        sourceWriter.print(VARIABLE_MESSAGE);
        sourceWriter.println(");");
      }
    }
docs: Generates the source code block to create a new {@link NlsMessage}.
  
  @param sourceWriter is the {@link SourceWriter}.
  @param hasArguments - {@code true} if {@link NlsMessage#getArgument(String) arguments} are given, {@code false}
  otherwise.