edu.umd.cs.findbugs.classfile.analysis
Class ClassData
java.lang.Object
edu.umd.cs.findbugs.classfile.analysis.ClassData
public class ClassData
- extends java.lang.Object
The data (bytes) of a class.
- Author:
- David Hovemeyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassData
public ClassData(ClassDescriptor classDescriptor,
ICodeBaseEntry codeBaseEntry,
byte[] data)
- Constructor.
- Parameters:
classDescriptor
- descriptor for the classdata
- the data (bytes) for a class
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 java.io.InputStream getInputStream()
- Open an InputStream on the class data.
- Returns:
- InputStream reading from the class data
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.