code: protected final void generateSourcePublicMethodDeclaration(SourceWriter sourceWriter, JMethod method) {
  
      StringBuilder arguments = new StringBuilder();
      for (JParameter parameter : method.getParameters()) {
        if (arguments.length() > 0) {
          arguments.append(", ");
        }
        arguments.append(parameter.getType().getQualifiedSourceName());
        arguments.append(" ");
        arguments.append(parameter.getName());
      }
      generateSourcePublicMethodDeclaration(sourceWriter, method.getReturnType().getQualifiedSourceName(),
          method.getName(), arguments.toString(), false);
    }
docs: This method generates the source code for a public method declaration including the opening brace and indentation.
  
  @param sourceWriter is the {@link SourceWriter}.
  @param method is the {@link JMethod} to implement.