code: protected final void generateSourcePublicMethodDeclaration(SourceWriter sourceWriter, String returnType,
        String methodName, String arguments, boolean override) {
  
      if (override) {
        sourceWriter.println("@Override");
      }
      sourceWriter.print("public ");
      if (returnType != null) {
        sourceWriter.print(returnType);
        sourceWriter.print(" ");
      }
      sourceWriter.print(methodName);
      sourceWriter.print("(");
      sourceWriter.print(arguments);
      sourceWriter.println(") {");
      sourceWriter.indent();
    }
docs: This method generates the source code for a public method or constructor including the opening brace and
  indentation.
  
  @param sourceWriter is the {@link SourceWriter}.
  @param returnType is the return type of the method.
  @param methodName is the name of the method (or the {@link Class#getSimpleName() simple class name} for a
  constructor}.
  @param arguments is the source line with the arguments to the method or constructor.
  @param override - {@code true} if an {@link Override} annotation shall be added.