Class JrtfsCodeBase
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase
edu.umd.cs.findbugs.classfile.impl.JrtfsCodeBase
- All Implemented Interfaces:
ICodeBase, IScannableCodeBase, AutoCloseable
Code base supporting Java 9 new jimage packed modules
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassNested classes/interfaces inherited from interface ICodeBase
ICodeBase.Discovered -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This method should be called when done using the code base.private ICodeBaseEntrycreateEntry(String resourceName, String moduleName) boolean(package private) static Stringprivate static StringgetPackage(String resourceName) Get the filesystem pathname of this codebase.inthashCode()(package private) static booleanisClassFile(Path p) iterator()Get an iterator over the resources in the this code base.lookupResource(String resourceName) Look up a resource in this code base.toString()
-
Field Details
-
PRIME
private static final int PRIME- See Also:
-
fs
-
fileName
-
root
-
packageToModuleMap
-
-
Constructor Details
-
JrtfsCodeBase
-
-
Method Details
-
createPackageToModuleMap
- Throws:
IOException
-
lookupResource
Description copied from interface:ICodeBaseLook 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
-
createEntry
-
getPackage
-
getPathName
-
hashCode
-
equals
-
toString
-
close
public void close()Description copied from interface:ICodeBaseThis method should be called when done using the code base. -
iterator
Description copied from interface:IScannableCodeBaseGet an iterator over the resources in the this code base.- Returns:
- ICodeBaseIterator over the resources in the code base
- Throws:
InterruptedException
-
fileName
-
isClassFile
-