Readonly
nameThe name of the method
Readonly
accessThe access level of the method
Writes the method declaration and its contents to the writer. This includes JavaDoc, annotations, method signature, parameters, return type, and method body. The method handles all Java method modifiers including static, abstract, final, and synchronized.
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 method in the AST. This class handles the generation of Java method declarations including parameters, return type, body, and other method-related elements.