MCPcopy Create free account
hub / github.com/boxbeam/RedLib / getSuperclass

Method getSuperclass

src/redempt/redlib/nms/NMSObject.java:138–143  ·  view source on GitHub ↗
(Class<?> clazz, int levels)

Source from the content-addressed store, hash-verified

136 }
137
138 private Class<?> getSuperclass(Class<?> clazz, int levels) {
139 for (int i = 0; i < levels; i++) {
140 clazz = clazz.getSuperclass();
141 }
142 return clazz;
143 }
144
145}

Callers 3

callMethodMethod · 0.95
getFieldMethod · 0.95
setFieldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected