MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / clone

Method clone

src/me/nov/zelixkiller/utils/ClassUtils.java:28–32  ·  view source on GitHub ↗
(ClassNode cn)

Source from the content-addressed store, hash-verified

26 }
27
28 public static ClassNode clone(ClassNode cn) {
29 ClassWriter cw = new ClassWriter(0);
30 cn.accept(cw);
31 return ASMUtils.getNode(cw.toByteArray());
32 }
33}

Callers 2

preTransformMethod · 0.95
copyMethod · 0.80

Calls 1

getNodeMethod · 0.95

Tested by

no test coverage detected