parameters: (self, name, fn)
docstring: Constructs a GenericFunctionDiagnosticTask based on the given name and function.
          @param name Name of the function.
          @param fn Function to be called when run is called.
docstring_summary: Constructs a GenericFunctionDiagnosticTask based on the given name and function.
docstring_tokens: Constructs a GenericFunctionDiagnosticTask based on the given name and function .
function: def __init__(self, name, fn):
          """Constructs a GenericFunctionDiagnosticTask based on the given name and function.
          @param name Name of the function.
          @param fn Function to be called when run is called.
          """
          DiagnosticTask.__init__(self, name)
          self.fn = fn
function_tokens: def __init__ ( self , name , fn ) : DiagnosticTask . __init__ ( self , name ) self . fn = fn