MCPcopy Create free account
hub / github.com/e2wugui/zeze / findClass

Method findClass

ZezeJava/ZezeJava/src/main/java/Zeze/Hot/HotHandle.java:22–28  ·  view source on GitHub ↗
(@NotNull Application zeze, @NotNull String handleClassName)

Source from the content-addressed store, hash-verified

20 }
21
22 public static @NotNull Class<?> findClass(@NotNull Application zeze, @NotNull String handleClassName)
23 throws ClassNotFoundException {
24 var hotManager = zeze.getHotManager();
25 return hotManager == null
26 ? Class.forName(handleClassName)
27 : hotManager.getHotRedirect().loadClass(handleClassName);
28 }
29
30 @SuppressWarnings("unchecked")
31 public @NotNull THandle findHandle(@NotNull Application zeze, @NotNull String handleClassName) {

Callers 5

findHandleMethod · 0.95

Calls 3

getHotRedirectMethod · 0.80
getHotManagerMethod · 0.45
loadClassMethod · 0.45

Tested by

no test coverage detected