Readonly
nameThe name of the interface
Readonly
packageThe package name of the interface
Readonly
accessThe access level of the interface
Readonly
referenceThe class reference for this interface
Readonly
isWhether this is a nested interface
Readonly
extends_The interfaces extended by this interface
Adds a method to the interface. Interface methods are implicitly public and abstract.
The method to add
Adds a constant to the interface. Interface constants are implicitly public static final.
The field to add as a constant
Writes the interface declaration and its contents to the writer. This includes JavaDoc, annotations, methods, and constants.
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 interface in the AST. This class handles the generation of Java interface declarations including methods, constants, and other interface-related elements.