Class CompileUnit

  • All Implemented Interfaces:
    NodeMetaDataHandler

    public class CompileUnit
    extends Object
    implements NodeMetaDataHandler
    Represents the entire contents of a compilation step which consists of one or more ModuleNode instances. There's one instance of this that's shared by all modules and classes compiled during a single invocation of the compiler.

    It's attached to MethodNodes and ClassNodes and is used to find fully qualified names of classes, resolve imports, and that sort of thing.