public final class SourceFinder extends Object
Constructor and Description |
---|
SourceFinder() |
Modifier and Type | Method and Description |
---|---|
static URL |
sourceLocation(Class<?> c,
Logger log)
Discerns a URL where the source for a given class can be browsed.
|
public static URL sourceLocation(Class<?> c, Logger log) throws SourceNotFoundException
c
- The class for which a source URL is desired.log
- The logger to use for any debug messages.SourceNotFoundException
- If the source location cannot be found.Copyright © 2015–2022 SciJava. All rights reserved.