Uses of Class
io.github.classgraph.PackageInfo
-
Packages that use PackageInfo Package Description io.github.classgraph -
-
Uses of PackageInfo in io.github.classgraph
Fields in io.github.classgraph declared as PackageInfo Modifier and Type Field Description (package private) PackageInfo
ClassInfo. packageInfo
Info on the package containing the class.private PackageInfo
PackageInfo. parent
The parent package of this package.Fields in io.github.classgraph with type parameters of type PackageInfo Modifier and Type Field Description private java.util.Set<PackageInfo>
PackageInfo. children
The child packages of this package.java.util.List<PackageInfo>
ScanResult.SerializationFormat. packageInfo
The list of allPackageInfo
objects.private java.util.Set<PackageInfo>
ModuleInfo. packageInfoSet
PackageInfo
objects for packages found within the class, if any, else null.private java.util.Map<java.lang.String,PackageInfo>
ScanResult. packageNameToPackageInfo
The map from package name toPackageInfo
.Methods in io.github.classgraph that return PackageInfo Modifier and Type Method Description (package private) static PackageInfo
PackageInfo. getOrCreatePackage(java.lang.String packageName, java.util.Map<java.lang.String,PackageInfo> packageNameToPackageInfo, ScanSpec scanSpec)
Get thePackageInfo
object for the named package, creating it if it doesn't exist, and also creatingPackageInfo
objects for any needed parent packages for which aPackageInfo
has not yet been created.PackageInfo
ClassInfo. getPackageInfo()
Get thePackageInfo
object for the class.PackageInfo
ModuleInfo. getPackageInfo(java.lang.String packageName)
Get thePackageInfo
object for the named package in this module, or null if the package was not found in this module.PackageInfo
ScanResult. getPackageInfo(java.lang.String packageName)
Get thePackageInfo
object for the named package, or null if no package of the requested name was found during the scan.PackageInfo
PackageInfo. getParent()
The parent package of this package, or null if this is the root package.Methods in io.github.classgraph with parameters of type PackageInfo Modifier and Type Method Description boolean
PackageInfoList.PackageInfoFilter. accept(PackageInfo packageInfo)
Whether or not to allow anPackageInfo
list item through the filter.(package private) void
ModuleInfo. addPackageInfo(PackageInfo packageInfo)
Add aPackageInfo
object to thisModuleInfo
.int
PackageInfo. compareTo(PackageInfo o)
Method parameters in io.github.classgraph with type arguments of type PackageInfo Modifier and Type Method Description (package private) static PackageInfo
PackageInfo. getOrCreatePackage(java.lang.String packageName, java.util.Map<java.lang.String,PackageInfo> packageNameToPackageInfo, ScanSpec scanSpec)
Get thePackageInfo
object for the named package, creating it if it doesn't exist, and also creatingPackageInfo
objects for any needed parent packages for which aPackageInfo
has not yet been created.Constructor parameters in io.github.classgraph with type arguments of type PackageInfo Constructor Description PackageInfoList(java.util.Collection<PackageInfo> packageInfoCollection)
Constructor.
-