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

Method getClass

src/redempt/redlib/nms/NMSHelper.java:173–179  ·  view source on GitHub ↗

Gets any class and wraps it in an NMSClass @param name The full name of the class @return The wrapped NMSClass

(String name)

Source from the content-addressed store, hash-verified

171 * @return The wrapped NMSClass
172 */
173 public static NMSClass getClass(String name) {
174 try {
175 return new NMSClass(Class.forName(name));
176 } catch (ClassNotFoundException e) {
177 throw new IllegalArgumentException(e);
178 }
179 }
180
181}

Callers 15

onBreakMethod · 0.95
getExtendingClassesMethod · 0.80
serializeMethod · 0.80
ChainCommandClass · 0.80
registerAllMethod · 0.80
wrapMethod · 0.80
persistMethod · 0.80
handleEventMethod · 0.80
getTypeNameMethod · 0.80
getTypeMethod · 0.80
callMethodMethod · 0.80
getFieldMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected