public class SourceManager extends Object
| Constructor and Description |
|---|
SourceManager() |
| Modifier and Type | Method and Description |
|---|---|
Path |
findAndCacheSource(jdk.vm.ci.meta.ResolvedJavaType resolvedType,
Class<?> clazz,
org.graalvm.compiler.debug.DebugContext debugContext)
Find and cache a source file for a given Java class and return a Path to the file relative to
the source.
|
public Path findAndCacheSource(jdk.vm.ci.meta.ResolvedJavaType resolvedType, Class<?> clazz, org.graalvm.compiler.debug.DebugContext debugContext)
resolvedType - the Java type whose source file should be located and cachedclazz - the Java class associated with the resolved typedebugContext - context for logging details of any lookup failure