Amplication AST Libraries Documentation
    Preparing search index...

    Represents a Java import statement in the AST. This class handles the generation of import declarations including static imports and wildcard imports.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Writes the import statement to the writer. This includes handling static imports and wildcard imports.

      Parameters

      • writer: Writer

        The writer to write to

      Returns void

    • Returns the string representation of the AST node. This method creates a new Writer instance and writes the node's content to it.

      Returns string

      The string representation of the AST node