Class EmptyCodeBase
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase
edu.umd.cs.findbugs.classfile.impl.EmptyCodeBase
- All Implemented Interfaces:
ICodeBase
,IScannableCodeBase
,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase
ICodeBase.Discovered
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This method should be called when done using the code base.Get the filesystem pathname of this codebase.iterator()
Get an iterator over the resources in the this code base.lookupResource
(String resourceName) Look up a resource in this code base.Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase
addLastModifiedTime, addResourceNameTranslation, containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime, translateResourceName
-
Constructor Details
-
EmptyCodeBase
-
-
Method Details
-
iterator
Description copied from interface:IScannableCodeBase
Get an iterator over the resources in the this code base.- Returns:
- ICodeBaseIterator over the resources in the code base
- Throws:
InterruptedException
-
lookupResource
Description copied from interface:ICodeBase
Look up a resource in this code base.- Parameters:
resourceName
- name of the resource to look up- Returns:
- ICodeBaseEntry representing the resource or null if the resource cannot be found in this code base
-
getPathName
Description copied from interface:ICodeBase
Get the filesystem pathname of this codebase.- Returns:
- the filesystem pathname of this codebase, or null if this codebase is not accessible via the filesystem
-
close
public void close()Description copied from interface:ICodeBase
This method should be called when done using the code base.
-