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

Method getURL

output/java8/1.4.19/STGroup.java:804–813  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

802 }
803
804 public URL getURL(String fileName) {
805 URL url;
806 ClassLoader cl = Thread.currentThread().getContextClassLoader();
807 url = cl.getResource(fileName);
808 if ( url==null ) {
809 cl = this.getClass().getClassLoader();
810 url = cl.getResource(fileName);
811 }
812 return url;
813 }
814
815 @Override
816 public String toString() {

Callers 2

importTemplatesMethod · 0.95
STGroupFileMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected