MCPcopy Index your code
hub / github.com/antlr/codebuff / getURL

Method getURL

output/java/1.4.17/STGroup.java:807–816  ·  view source on GitHub ↗
(String fileName)

Source from the content-addressed store, hash-verified

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

Callers 2

importTemplatesMethod · 0.95
STGroupFileMethod · 0.45

Calls 1

getResourceMethod · 0.45

Tested by

no test coverage detected