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

Method getFileNameNoSuffix

output/java8/1.4.19/Misc.java:101–105  ·  view source on GitHub ↗
(String f)

Source from the content-addressed store, hash-verified

99 }
100
101 public static String getFileNameNoSuffix(String f) {
102 if ( f==null ) return null;
103 f = getFileName(f);
104 return f.substring(0, f.lastIndexOf('.'));
105 }
106
107 public static String getFileName(String fullFileName) {
108 if ( fullFileName==null ) return null;

Callers 3

loadTemplateFileMethod · 0.95
getNameMethod · 0.95
loadTemplateFileMethod · 0.95

Calls 2

getFileNameMethod · 0.95
lastIndexOfMethod · 0.45

Tested by

no test coverage detected