Uses of Class
nonapi.io.github.classgraph.utils.LogNode
Packages that use LogNode
Package
Description
-
Uses of LogNode in io.github.classgraph
Fields in io.github.classgraph declared as LogNodeModifier and TypeFieldDescription(package private) LogNode
Resource.scanLog
TheLogNode
used to log that the resource was found when classpath element paths are scanned.private LogNode
ClassGraph.topLevelLog
If non-null, log while scanning.private final LogNode
Scanner.topLevelLog
The toplevel log.private final LogNode
ScanResult.topLevelLog
The toplevel log.Methods in io.github.classgraph that return LogNodeModifier and TypeMethodDescriptionprotected LogNode
Write entries to log in classpath / module path order.protected LogNode
Write entries to log in classpath / module path order.Methods in io.github.classgraph with parameters of type LogNodeModifier and TypeMethodDescriptionprotected void
ClasspathElement.addAcceptedResource
(Resource resource, ScanSpec.ScanSpecPathMatch parentMatchStatus, boolean isClassfileOnly, LogNode log) Add a resource discovered during the scan.protected boolean
ClasspathElement.checkResourcePathAcceptReject
(String relativePath, LogNode log) Check relativePath against classpathElementResourcePathAcceptReject.private void
Classfile.extendScanningUpwards
(LogNode log) Check if scanning needs to be extended upwards to an external superclass, interface or annotation.private void
Classfile.extendScanningUpwardsFromAnnotationParameterValues
(Object annotationParamVal, LogNode log) Check if scanning needs to be extended upwards from an annotation parameter value.private void
Scanner.findNestedClasspathElements
(List<AbstractMap.SimpleEntry<String, ClasspathElement>> classpathElts, LogNode log) Find classpath elements whose path is a prefix of another classpath element, and record the nesting.protected void
AnnotationInfo.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
AnnotationInfoList.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in this list.protected void
AnnotationParameterValue.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the annotation parameters.protected void
AnnotationParameterValueList.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the methods in this list.protected void
ArrayClassInfo.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
ClassInfo.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in this class' type descriptor, or the type descriptors of fields, methods or annotations.protected void
ClassTypeSignature.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
FieldInfo.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
FieldInfoList.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the list.protected void
MethodInfo.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
MethodInfoList.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
MethodTypeSignature.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type descriptor or type signature.protected void
ObjectTypedValueWrapper.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in annotation parameters.protected void
ScanResultObject.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced by this object.ScanResultObject.findReferencedClassInfo
(LogNode log) GetClassInfo
objects for any classes referenced by this object.protected final void
TypeSignature.findReferencedClassInfo
(Map<String, ClassInfo> classNameToClassInfo, Set<ClassInfo> refdClassInfo, LogNode log) GetClassInfo
objects for any classes referenced in the type signature.protected void
ClasspathElement.finishScanPaths
(LogNode log) Called by scanPaths() after scan completion.private void
ScanResult.indexResourcesAndClassInfo
(LogNode log) protected LogNode
Write entries to log in classpath / module path order.protected LogNode
Write entries to log in classpath / module path order.(package private) void
ClasspathElement.maskClassfiles
(int classpathIdx, Set<String> classpathRelativePathsFound, LogNode log) Apply relative path masking within this classpath resource -- remove relative paths that were found in an earlier classpath element.private void
Scanner.maskClassfiles
(List<ClasspathElement> classpathElementOrder, LogNode maskLog) Perform classpath masking of classfiles.(package private) abstract void
ClasspathElement.open
(WorkQueue<Scanner.ClasspathEntryWorkUnit> workQueue, LogNode log) Determine if this classpath element is valid.(package private) void
ClasspathElementDir.open
(WorkQueue<Scanner.ClasspathEntryWorkUnit> workQueue, LogNode log) (package private) void
ClasspathElementModule.open
(WorkQueue<Scanner.ClasspathEntryWorkUnit> workQueueIgnored, LogNode log) (package private) void
ClasspathElementZip.open
(WorkQueue<Scanner.ClasspathEntryWorkUnit> workQueue, LogNode log) private void
Scanner.preprocessClasspathElementsByType
(List<ClasspathElement> finalTraditionalClasspathEltOrder, LogNode classpathFinderLog) Find classpath elements whose path is a prefix of another classpath element, and record the nesting.void
Scanner.ClassfileScannerWorkUnitProcessor.processWorkUnit
(Scanner.ClassfileScanWorkUnit workUnit, WorkQueue<Scanner.ClassfileScanWorkUnit> workQueue, LogNode log) Process work unit.private <W> void
Scanner.processWorkUnits
(Collection<W> workUnits, LogNode log, WorkQueue.WorkUnitProcessor<W> workUnitProcessor) Process work units.private void
Classfile.readConstantPoolEntries
(LogNode log) Read constant pool entries.private void
ClasspathElementDir.scanPathRecursively
(Path path, LogNode log) Recursively scan aPath
for sub-path patterns matching the scan spec.(package private) abstract void
Scan paths in the classpath element for accept/reject criteria, creating Resource objects for accepted and non-rejected resources and classfiles.(package private) void
Hierarchically scan directory structure for classfiles and matching files.(package private) void
Scan for package matches within module.(package private) void
Scan for path matches within jarfile, and record ZipEntry objects of matching files.private void
Classfile.scheduleScanningIfExternalClass
(String className, String relationship, LogNode log) Extend scanning to a superclass, interface or annotation.Constructors in io.github.classgraph with parameters of type LogNodeModifierConstructorDescription(package private)
Classfile
(ClasspathElement classpathElement, List<ClasspathElement> classpathOrder, Set<String> acceptedClassNamesFound, Set<String> classNamesScheduledForExtendedScanning, String relativePath, Resource classfileResource, boolean isExternalClass, ConcurrentHashMap<String, String> stringInternMap, WorkQueue<Scanner.ClassfileScanWorkUnit> workQueue, ScanSpec scanSpec, LogNode log) Directly examine contents of classfile binary header to determine annotations, implemented interfaces, the super-class etc.(package private)
Scanner
(boolean performScan, ScanSpec scanSpec, ExecutorService executorService, int numParallelTasks, ClassGraph.ScanResultProcessor scanResultProcessor, ClassGraph.FailureHandler failureHandler, ReflectionUtils reflectionUtils, LogNode topLevelLog) The classpath scanner.(package private)
ScanResult
(ScanSpec scanSpec, List<ClasspathElement> classpathOrder, List<String> rawClasspathEltOrderStrs, ClasspathFinder classpathFinder, Map<String, ClassInfo> classNameToClassInfo, Map<String, PackageInfo> packageNameToPackageInfo, Map<String, ModuleInfo> moduleNameToModuleInfo, Map<File, Long> fileToLastModified, NestedJarHandler nestedJarHandler, LogNode topLevelLog) The result of a scan. -
Uses of LogNode in nonapi.io.github.classgraph.classloaderhandler
Methods in nonapi.io.github.classgraph.classloaderhandler with parameters of type LogNodeModifier and TypeMethodDescriptionprivate static void
FelixClassLoaderHandler.addBundle
(Object bundleWiring, ClassLoader classLoader, ClasspathOrder classpathOrderOut, Set<Object> bundles, ScanSpec scanSpec, LogNode log) Adds the bundle.private static void
EquinoxClassLoaderHandler.addBundleFile
(Object bundlefile, Set<Object> path, ClassLoader classLoader, ClasspathOrder classpathOrderOut, ScanSpec scanSpec, LogNode log) Add the bundle file.private static void
EquinoxClassLoaderHandler.addClasspathEntries
(Object owner, ClassLoader classLoader, ClasspathOrder classpathOrderOut, ScanSpec scanSpec, LogNode log) Adds the classpath entries.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.boolean
ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry.canHandle
(Class<?> classLoader, LogNode log) Call the static method canHandle(ClassLoader) for the associatedClassLoaderHandler
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Can handle.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static boolean
Check whether thisClassLoaderHandler
can handle a givenClassLoader
.static void
AntClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
ClassGraphClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.void
ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Call the static method findClassLoaderOrder(ClassLoader, ClassLoaderOrder) for the associatedClassLoaderHandler
.static void
CxfContainerClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
EquinoxClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
EquinoxContextFinderClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
FallbackClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
FelixClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
JBossClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
JPMSClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
OSGiDefaultClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
ParentLastDelegationOrderTestClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
PlexusClassWorldsClassRealmClassLoaderHandler.findClassLoaderOrder
(ClassLoader classRealm, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
QuarkusClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find classloader order.static void
SpringBootRestartClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
TomcatWebappClassLoaderBaseHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
UnoOneJarClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
URLClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
WeblogicClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
WebsphereLibertyClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
WebsphereTraditionalClassLoaderHandler.findClassLoaderOrder
(ClassLoader classLoader, ClassLoaderOrder classLoaderOrder, LogNode log) Find theClassLoader
delegation order for aClassLoader
.static void
AntClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
ClassGraphClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.void
ClassLoaderHandlerRegistry.ClassLoaderHandlerRegistryEntry.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Call the static method findClasspathOrder(ClassLoader, ClasspathOrder) for the associatedClassLoaderHandler
.static void
CxfContainerClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
EquinoxClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
EquinoxContextFinderClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
FallbackClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
FelixClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
JBossClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
JPMSClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
OSGiDefaultClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
ParentLastDelegationOrderTestClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
PlexusClassWorldsClassRealmClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
QuarkusClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
SpringBootRestartClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
TomcatWebappClassLoaderBaseHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
UnoOneJarClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
URLClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
WeblogicClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
WebsphereLibertyClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.static void
WebsphereTraditionalClassLoaderHandler.findClasspathOrder
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) Find the classpath entries for the associatedClassLoader
.private static void
QuarkusClassLoaderHandler.findClasspathOrderForQuarkusClassloader
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) private static void
QuarkusClassLoaderHandler.findClasspathOrderForRunnerClassloader
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) private static void
QuarkusClassLoaderHandler.findClasspathOrderForRuntimeClassloader
(ClassLoader classLoader, ClasspathOrder classpathOrder, ScanSpec scanSpec, LogNode log) private static void
JBossClassLoaderHandler.handleRealModule
(Object module, Set<Object> visitedModules, ClassLoader classLoader, ClasspathOrder classpathOrderOut, ScanSpec scanSpec, LogNode log) Handle a module.private static void
JBossClassLoaderHandler.handleResourceLoader
(Object resourceLoader, ClassLoader classLoader, ClasspathOrder classpathOrderOut, ScanSpec scanSpec, LogNode log) Handle a resource loader. -
Uses of LogNode in nonapi.io.github.classgraph.classpath
Methods in nonapi.io.github.classgraph.classpath with parameters of type LogNodeModifier and TypeMethodDescriptionvoid
ClassLoaderOrder.add
(ClassLoader classLoader, LogNode log) Add aClassLoader
to the ClassLoader order at the current position.boolean
ClasspathOrder.addClasspathEntries
(List<Object> overrideClasspath, ClassLoader classLoader, ScanSpec scanSpec, LogNode log) Add classpath entries, separated by the system path separator character.boolean
ClasspathOrder.addClasspathEntry
(Object pathElement, ClassLoader classLoader, ScanSpec scanSpec, LogNode log) Add a classpath element relative to a base file.boolean
ClasspathOrder.addClasspathEntryObject
(Object pathObject, ClassLoader classLoader, ScanSpec scanSpec, LogNode log) Add classpath entries from an object obtained from reflection.boolean
ClasspathOrder.addClasspathPathStr
(String pathStr, ClassLoader classLoader, ScanSpec scanSpec, LogNode log) Add classpath entries, separated by the system path separator character.void
ClassLoaderOrder.delegateTo
(ClassLoader classLoader, boolean isParent, LogNode log) Recursively delegate to anotherClassLoader
.ModuleFinder.findModuleRefs
(LinkedHashSet<Object> layers, ScanSpec scanSpec, LogNode log) Get all visible ModuleReferences in a list of layers.ModuleFinder.findModuleRefsFromCallstack
(Class<?>[] callStack, ScanSpec scanSpec, boolean scanNonSystemModules, LogNode log) Get all visible ModuleReferences in all layers, given an array of stack frameClass<?>
references.private static Class<?>[]
CallStackReader.getCallStackViaSecurityManager
(LogNode log) Get the call stack via the SecurityManager.getClassContext() native method.(package private) Class<?>[]
CallStackReader.getClassContext
(LogNode log) Get the class context.ClassLoaderOrder.getRegistryEntry
(ClassLoader classLoader, LogNode log) Find theClassLoaderHandler
that can handle a givenClassLoader
instance.Constructors in nonapi.io.github.classgraph.classpath with parameters of type LogNodeModifierConstructorDescription(package private)
ClassLoaderFinder
(ScanSpec scanSpec, ReflectionUtils reflectionUtils, LogNode log) A class to find the unique ordered classpath elements.ClasspathFinder
(ScanSpec scanSpec, ReflectionUtils reflectionUtils, LogNode log) A class to find the unique ordered classpath elements.ModuleFinder
(Class<?>[] callStack, ScanSpec scanSpec, boolean scanNonSystemModules, boolean scanSystemModules, ReflectionUtils reflectionUtils, LogNode log) A class to find the visible modules. -
Uses of LogNode in nonapi.io.github.classgraph.concurrency
Fields in nonapi.io.github.classgraph.concurrency declared as LogNodeMethods in nonapi.io.github.classgraph.concurrency with parameters of type LogNodeModifier and TypeMethodDescriptionCheck if the given key is in the map, and if so, return the value ofSingletonMap.newInstance(Object, LogNode)
for that key, or block on the result ofSingletonMap.newInstance(Object, LogNode)
if another thread is currently creating the new instance.Check if the given key is in the map, and if so, return the value ofSingletonMap.newInstance(Object, LogNode)
for that key, or block on the result ofSingletonMap.newInstance(Object, LogNode)
if another thread is currently creating the new instance.abstract V
SingletonMap.newInstance
(K key, LogNode log) Construct a new singleton instance.void
WorkQueue.WorkUnitProcessor.processWorkUnit
(T workUnit, WorkQueue<T> workQueue, LogNode log) Process a work unit.static <U> void
WorkQueue.runWorkQueue
(Collection<U> elements, ExecutorService executorService, InterruptionChecker interruptionChecker, int numParallelTasks, LogNode log, WorkQueue.WorkUnitProcessor<U> workUnitProcessor) Start a work queue on the elements in the provided collection, blocking until all work units have been completed.Constructors in nonapi.io.github.classgraph.concurrency with parameters of type LogNodeModifierConstructorDescriptionprivate
WorkQueue
(Collection<T> initialWorkUnits, WorkQueue.WorkUnitProcessor<T> workUnitProcessor, int numWorkers, InterruptionChecker interruptionChecker, LogNode log) A parallel work queue. -
Uses of LogNode in nonapi.io.github.classgraph.fastzipfilereader
Methods in nonapi.io.github.classgraph.fastzipfilereader with parameters of type LogNodeModifier and TypeMethodDescriptionvoid
Close zipfiles, modules, and recyclers, and delete temporary files.private PhysicalZipFile
NestedJarHandler.downloadJarFromURL
(String jarURL, LogNode log) Download a jar from a URL to a temporary file, or to a ByteBuffer if the temporary directory is not writeable or full.private void
LogicalZipFile.parseManifest
(FastZipEntry manifestZipEntry, LogNode log) Parse the manifest entry of a zipfile.NestedJarHandler.readAllBytesWithSpilloverToDisk
(InputStream inputStream, String tempFileBaseName, long inputStreamLengthHint, LogNode log) Read all the bytes in anInputStream
, with spillover to a temporary file on disk if a maximum buffer size is exceeded.private void
LogicalZipFile.readCentralDirectory
(NestedJarHandler nestedJarHandler, LogNode log) Read the central directory of the zipfile.private FileSlice
NestedJarHandler.spillToDisk
(InputStream inputStream, String tempFileBaseName, byte[] buf, byte[] overflowBuf, LogNode log) Spill anInputStream
to disk if the stream is too large to fit in RAM.Constructors in nonapi.io.github.classgraph.fastzipfilereader with parameters of type LogNodeModifierConstructorDescription(package private)
LogicalZipFile
(ZipFileSlice zipFileSlice, NestedJarHandler nestedJarHandler, LogNode log, boolean enableMultiReleaseVersions) Construct a logical zipfile from a slice of a physical zipfile.(package private)
PhysicalZipFile
(File file, NestedJarHandler nestedJarHandler, LogNode log) Construct aPhysicalZipFile
from a file on disk.(package private)
PhysicalZipFile
(InputStream inputStream, long inputStreamLengthHint, String pathStr, NestedJarHandler nestedJarHandler, LogNode log) Construct aPhysicalZipFile
by reading from theInputStream
to an array in RAM, or spill to disk if theInputStream
is too long.(package private)
PhysicalZipFile
(Path path, NestedJarHandler nestedJarHandler, LogNode log) Construct aPhysicalZipFile
from aPath
. -
Uses of LogNode in nonapi.io.github.classgraph.fileslice
Constructors in nonapi.io.github.classgraph.fileslice with parameters of type LogNodeModifierConstructorDescriptionFileSlice
(File file, boolean isDeflatedZipEntry, long inflatedLengthHint, NestedJarHandler nestedJarHandler, LogNode log) Constructor for toplevel file slice.FileSlice
(File file, NestedJarHandler nestedJarHandler, LogNode log) Constructor for toplevel file slice. -
Uses of LogNode in nonapi.io.github.classgraph.scanspec
Methods in nonapi.io.github.classgraph.scanspec with parameters of type LogNode -
Uses of LogNode in nonapi.io.github.classgraph.utils
Fields in nonapi.io.github.classgraph.utils declared as LogNodeFields in nonapi.io.github.classgraph.utils with type parameters of type LogNodeMethods in nonapi.io.github.classgraph.utils that return LogNodeModifier and TypeMethodDescriptionprivate LogNode
Add a child log node for a message.private LogNode
Add a child log node.private LogNode
Add a child log node for an exception.Add a log entry.Add a log entry.Add a log entry.Add a log entry with sort key for deterministic ordering.Add a log entry with sort key for deterministic ordering.Add a log entry with sort key for deterministic ordering.Add a log entry with sort key for deterministic ordering.Add a log entry.Add a log entry.LogNode.log
(Collection<String> msgs) Add a series of log entries.Methods in nonapi.io.github.classgraph.utils with parameters of type LogNodeModifier and TypeMethodDescriptionstatic boolean
FileUtils.closeDirectByteBuffer
(ByteBuffer byteBuffer, ReflectionUtils reflectionUtils, LogNode log) Close aDirectByteBuffer
-- in particular, will unmap aMappedByteBuffer
.private static boolean
FileUtils.closeDirectByteBufferPrivileged
(ByteBuffer byteBuffer, LogNode log) Close a direct byte buffer (run in doPrivileged).