Class ModuleConstant

  • All Implemented Interfaces:
    Printable

    public class ModuleConstant
    extends NameConstant
    Module constant.
    • Constructor Detail

      • ModuleConstant

        public ModuleConstant​(ClassInfo classInfo,
                              int nameIndex)
        Constructs a new ModuleConstant instance.
        Parameters:
        classInfo - the ClassInfo instance this constant is part of.
        nameIndex - the module constant name index.
    • Method Detail

      • print

        public void print​(ClassPrinter out,
                          ClassContext context)
                   throws java.io.IOException
        Description copied from interface: Printable
        Prints this instance.
        Parameters:
        out - the ClassPrinter instance to print to.
        context - the context of this print invocation.
        Throws:
        java.io.IOException - if an I/O error occurs.