Class RequiresInfo

    • Field Detail

      • u2requiresIndex

        public int u2requiresIndex
      • u2requiresFlags

        public int u2requiresFlags
      • u2requiresVersionIndex

        public int u2requiresVersionIndex
    • Constructor Detail

      • RequiresInfo

        public RequiresInfo()
        Creates an uninitialized RequiresInfo.
      • RequiresInfo

        public RequiresInfo​(int u2requiresIndex,
                            int u2requiresFlags,
                            int u2requiresVersionIndex)
        Creates an uninitialized RequiresInfo.
    • Method Detail

      • moduleAccept

        public void moduleAccept​(Clazz clazz,
                                 ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the module constant of the module, if any.
      • versionAccept

        public void versionAccept​(Clazz clazz,
                                  ConstantVisitor constantVisitor)
        Applies the given constant pool visitor to the Utf8 constant of the version, if any.