Amplication AST Libraries Documentation
    Preparing search index...

    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.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string

    The name of the class

    packageName: string

    The package name of the class

    Methods

    • Writes the class reference to the writer. This includes adding the necessary import and writing the class name.

      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