edu.umd.cs.findbugs.classfile.analysis

Class ClassData



  • public class ClassData
    extends Object
    The data (bytes) of a class.
    Author:
    David Hovemeyer
    • Constructor Detail

      • ClassData

        public ClassData(ClassDescriptor classDescriptor,
                 ICodeBaseEntry codeBaseEntry,
                 byte[] data)
        Constructor.
        Parameters:
        classDescriptor - descriptor for the class
        data - the data (bytes) for a class
    • Method Detail

      • getClassDescriptor

        public ClassDescriptor getClassDescriptor()
        Returns:
        Returns the ClassDescriptor.
      • getCodeBaseEntry

        public ICodeBaseEntry getCodeBaseEntry()
        Returns:
        Returns the codeBaseEntry.
      • getData

        public byte[] getData()
        Returns:
        Returns the data.
      • getInputStream

        public InputStream getInputStream()
        Open an InputStream on the class data.
        Returns:
        InputStream reading from the class data

Copyright © 2003–2015. All rights reserved.