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

Method getFileName

output/java8/1.4.19/Misc.java:107–111  ·  view source on GitHub ↗
(String fullFileName)

Source from the content-addressed store, hash-verified

105 }
106
107 public static String getFileName(String fullFileName) {
108 if ( fullFileName==null ) return null;
109 File f = new File(fullFileName); // strip to simple name
110 return f.getName();
111 }
112
113 public static String getParent(String name) {
114 //System.out.println("getParent("+name+")="+p);

Callers 9

getFileNameNoSuffixMethod · 0.95
loadMethod · 0.95
compileTimeErrorMethod · 0.95
lexerErrorMethod · 0.95
toStringMethod · 0.45
STMethod · 0.45
toStringMethod · 0.45

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected