public class GraalVMSourceCache extends SourceCache
SourceCache.SourceCacheFeature
classPathEntries, sourcePathEntries, srcRoots
Constructor and Description |
---|
GraalVMSourceCache() |
Modifier and Type | Method and Description |
---|---|
protected SourceCacheType |
getType()
Identify the specific type of this source cache.
|
protected void |
trySourceRoot(Path sourceRoot,
boolean fromClassPath)
Implementing this method allows to add to the
SourceCache.srcRoots based on the given
sourceRoot path (jar-file or directory). |
cachedFile, cachedPath, checkCacheFile, createSourceCache, extendPath, findCandidate, initSrcRoots, resolve, tryCacheFile
protected final SourceCacheType getType()
SourceCache
getType
in class SourceCache
protected void trySourceRoot(Path sourceRoot, boolean fromClassPath)
SourceCache
SourceCache.srcRoots
based on the given
sourceRoot path (jar-file or directory). Different subclasses might implement different
strategies how to extract SourceCache.srcRoots
entries from the given sourceRoot.trySourceRoot
in class SourceCache
sourceRoot
- path SourceCache.srcRoots
entries should be added for.fromClassPath
- true, if the given sourceRoot is a classpath entry.