| Constructor and Description |
|---|
ImmutableDetector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClone(Object source)
Determine whether or not the current cloner can clone the given object.
|
Object |
clone(Object source)
Perform the clone.
|
static boolean |
isImmutable(Class<?> type)
Determine if the given type is probably immutable.
|
public boolean canClone(Object source)
Clonerpublic static boolean isImmutable(Class<?> type)
type - - the type to check.public Object clone(Object source)
Cloner
This method should never be called unless a corresponding Cloner.canClone(Object) returns TRUE.
Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.