Creates a new ClassReference instance with the specified configuration.
The arguments for creating the class reference
Readonly
nameThe name of the class
Readonly
packageThe package name of the class
Writes the class reference to the writer. This includes adding the necessary import and writing the class name.
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 reference to a Java class in the AST. This class handles the generation of fully qualified class references including package name and class name.