Class CpBands

    • Method Detail

      • addCPClass

        public void addCPClass​(java.lang.String className)
      • existsCpClass

        public boolean existsCpClass​(java.lang.String className)
      • finaliseBands

        public void finaliseBands()
        All input classes for the segment have now been read in, so this method is called so that this class can calculate/complete anything it could not do while classes were being read.
      • getCPClass

        public CPClass getCPClass​(java.lang.String className)
        Gets a constant pool class for the given class name.
        Parameters:
        className - a fully-qualifed class name.
        Returns:
        a a constant pool class.
      • getCPSignature

        public CPSignature getCPSignature​(java.lang.String signature)
        Gets a constant pool signature.
        Parameters:
        signature - the signature string.
        Returns:
        a constant pool signature.
      • pack

        public void pack​(java.io.OutputStream out)
                  throws java.io.IOException,
                         Pack200Exception
        Description copied from class: BandSet
        Writes the packed set of bands to the given output stream.
        Specified by:
        pack in class BandSet
        Parameters:
        out - TODO
        Throws:
        java.io.IOException - If an I/O error occurs.
        Pack200Exception - If a Pack200 semantic error occurs.