MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / getClassName

Method getClassName

src/main/java/gregapi/util/UT.java:2477–2479  ·  view source on GitHub ↗
(Object aObject)

Source from the content-addressed store, hash-verified

2475
2476 public static class Reflection {
2477 public static String getClassName(Object aObject) {
2478 return aObject == null ? "" : aObject.getClass().getName().substring(aObject.getClass().getName().lastIndexOf(".")+1);
2479 }
2480 public static String getLowercaseClass(Object aObject) {
2481 return aObject == null ? "" : aObject.getClass().getName().substring(aObject.getClass().getName().lastIndexOf(".")+1).toLowerCase();
2482 }

Callers 6

onOreRegistrationMethod · 0.80
addMethod · 0.80
addMethod · 0.80
hardenMethod · 0.80
removeMethod · 0.80
foamMethod · 0.80

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected