MCPcopy Create free account
hub / github.com/ReadyTalk/avian / clone

Method clone

classpath/java/lang/Object.java:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13public class Object {
14 protected Object clone() throws CloneNotSupportedException {
15 if ((this instanceof Cloneable) || getClass().isArray()) {
16 return clone(this);
17 } else {
18 throw new CloneNotSupportedException(getClass().getName());
19 }
20 }
21
22 private static native Object clone(Object o);
23

Callers

nothing calls this directly

Calls 3

getClassMethod · 0.95
isArrayMethod · 0.80
getNameMethod · 0.65

Tested by

no test coverage detected