MCPcopy Index your code
hub / github.com/apache/groovy / isFile

Method isFile

src/main/java/groovy/lang/GroovyClassLoader.java:815–817  ·  view source on GitHub ↗
(final URL ret)

Source from the content-addressed store, hash-verified

813 }
814
815 private static boolean isFile(final URL ret) {
816 return ret != null && "file".equals(ret.getProtocol());
817 }
818
819 private static File getFileForUrl(final URL ret, final String filename) {
820 String fileWithoutPackage = filename;

Callers 11

recompileMethod · 0.95
getSourceFileMethod · 0.95
isSourceNewerMethod · 0.95
doCompilationMethod · 0.80
deleteRecursiveMethod · 0.80
findMatchingFilesMethod · 0.80
addClassPathMethod · 0.80
rootLoaderMethod · 0.80
eachFileMethod · 0.80
eachFileMatchMethod · 0.80

Calls 1

equalsMethod · 0.65

Tested by 1