MCPcopy Create free account
hub / github.com/apache/ant / getResourceSource

Method getResourceSource

src/main/org/apache/tools/ant/launch/Locator.java:121–147  ·  view source on GitHub ↗

Find the directory or jar a given resource has been loaded from. @param c the classloader to be consulted for the source. @param resource the resource whose location is required. @return the file with the resource source or null if we cannot determine the location. @since Ant 1.6

(ClassLoader c, String resource)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getClassSourceMethod · 0.95
getResourceSourceMethod · 0.95

Calls 7

fromJarURIMethod · 0.95
fromURIMethod · 0.95
indexOfMethod · 0.80
substringMethod · 0.80
getClassLoaderMethod · 0.65
getResourceMethod · 0.65
toStringMethod · 0.45

Tested by

no test coverage detected