Creates a new Annotation instance with the specified configuration. Either a reference to the annotation class or its name must be provided.
The arguments for creating the annotation
Writes the annotation declaration to the writer. This includes the annotation name, arguments, and named parameters.
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 Java annotation in the AST. This class handles the generation of Java annotations including their arguments and references to annotation classes.