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

Method getType

ZezeJava/ZezeJava/src/main/java/Zeze/Util/Json.java:350–353  ·  view source on GitHub ↗
(Class<?> klass)

Source from the content-addressed store, hash-verified

348 }
349
350 public static int getType(Class<?> klass) {
351 Integer type = typeMap.get(klass);
352 return type != null ? type : TYPE_CUSTOM;
353 }
354
355 public @NotNull Creator<T> getCtor() {
356 return ctor;

Callers 1

writeMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected