MCPcopy Create free account
hub / github.com/davidgiven/luje / clone

Method clone

lib/java/lang/Enum.java:110–114  ·  view source on GitHub ↗

Enum objects are singletons, they may not be cloned. This method always throws a CloneNotSupportedException. @return does not return. @throws CloneNotSupportedException is always thrown.

()

Source from the content-addressed store, hash-verified

108 * is always thrown.
109 */
110 @Override
111 protected final Object clone() throws CloneNotSupportedException {
112 // luni.4C=Enums may not be cloned
113 throw new CloneNotSupportedException(Messages.getString("luni.4C")); //$NON-NLS-1$
114 }
115
116 /**
117 * Compares this object to the specified enum object to determine their

Callers 3

setStackTraceMethod · 0.45
replace0Method · 0.45
setCharAtMethod · 0.45

Calls 1

getStringMethod · 0.95

Tested by

no test coverage detected