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

Method getFileName

output/java8/1.4.13/Misc.java:109–113  ·  view source on GitHub ↗
(String fullFileName)

Source from the content-addressed store, hash-verified

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

Callers 4

getFileNameNoSuffixMethod · 0.95
loadMethod · 0.95
compileTimeErrorMethod · 0.95
lexerErrorMethod · 0.95

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected