Creates a new GenericType instance with the specified configuration.
The arguments for creating the generic type
Writes the generic type declaration to the writer. This includes the base type name, type parameters, and necessary imports.
The writer to write to
Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.
The string representation of the AST node
Represents a generic type in the AST. This class handles the generation of generic type declarations including base type and type parameters.