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

Method getFileName

output/java/1.4.17/Misc.java:111–115  ·  view source on GitHub ↗
(String fullFileName)

Source from the content-addressed store, hash-verified

109 }
110
111 public static String getFileName(String fullFileName) {
112 if ( fullFileName==null ) return null;
113 File f = new File(fullFileName); // strip to simple name
114 return f.getName();
115 }
116
117 public static String getParent(String name) {
118 //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