edu.umd.cs.findbugs.classfile
public interface ICodeBaseEntry
| Method Summary | |
|---|---|
| ClassDescriptor | getClassDescriptor()
Return the ClassDescriptor of the class resource accessed
by this codebase entry. |
| ICodeBase | getCodeBase()
Get the codebase this codebase entry belongs to.
|
| int | getNumBytes()
Get the number of bytes in the resource.
|
| String | getResourceName()
Get the name of the resource.
|
| InputStream | openResource()
Open an input stream reading from the resource.
|
| void | overrideResourceName(String resourceName)
Override the resource name of this codebase entry.
|
Returns: ClassDescriptor of this entry
Throws: CheckedAnalysisException if the codebase entry does not reference a valid classfile IllegalArgumentException if the codebase entry's filename is definitely not a classfile
Returns: the codebase this codebase entry belongs to
Returns: number of bytes in the resource, or <0 if not known.
Returns: the name of the resource
Returns: InputStream reading from the resource.
Throws: IOException if an error occurs reading from the resource
Parameters: resourceName the new resource name