Package org.apache.groovy.runtime
Class ObjectUtil
java.lang.Object
org.apache.groovy.runtime.ObjectUtil
Deprecated.
Util for object's operations with checks
- Since:
- 4.0.5
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TcloneObject(T object) Deprecated.Clone the specified objectstatic MethodHandleDeprecated.Returns the method handle ofcloneObject(Object)
- 
Method Details- 
cloneObjectDeprecated.Clone the specified object- Type Parameters:
- T- the object type
- Parameters:
- object- the object to clone
- Returns:
- the cloned object
- Throws:
- Throwable- some exception or error
- Since:
- 4.0.5
 
- 
getCloneObjectMethodHandleDeprecated.Returns the method handle ofcloneObject(Object)- Returns:
- the method handle
- Since:
- 4.0.5
 
 
-