MCPcopy Create free account
hub / github.com/antlr/codebuff / getURL

Method getURL

output/java/1.4.19/STGroup.java:812–821  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

810 }
811
812 public URL getURL(String fileName) {
813 URL url;
814 ClassLoader cl = Thread.currentThread().getContextClassLoader();
815 url = cl.getResource(fileName);
816 if ( url==null ) {
817 cl = this.getClass().getClassLoader();
818 url = cl.getResource(fileName);
819 }
820 return url;
821 }
822
823 @Override
824 public String toString() {

Callers 2

importTemplatesMethod · 0.95
STGroupFileMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected