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

Method getClassName

corpus/java/training/guava/reflect/ClassPath.java:502–506  ·  view source on GitHub ↗
(String filename)

Source from the content-addressed store, hash-verified

500 }
501
502 @VisibleForTesting
503 static String getClassName(String filename) {
504 int classNameEnd = filename.length() - CLASS_FILE_NAME_EXTENSION.length();
505 return filename.substring(0, classNameEnd).replace('/', '.');
506 }
507}

Callers 2

ClassInfoMethod · 0.45
ExampleStackTraceMethod · 0.45

Calls 2

lengthMethod · 0.45
replaceMethod · 0.45

Tested by

no test coverage detected