org.omnaest.utils.beans.copier
Interface PreparedBeanCopier.InstanceFactoryCreator.InstanceFactory
- All Superinterfaces:
- Serializable
- Enclosing interface:
- PreparedBeanCopier.InstanceFactoryCreator
public static interface PreparedBeanCopier.InstanceFactoryCreator.InstanceFactory
- extends Serializable
- Author:
- Omnaest
|
Field Summary |
static Object |
IMMUTABLE_INSTANCE
Marker instance which indicates an immutable instance, which should not be cloned. |
IMMUTABLE_INSTANCE
static final Object IMMUTABLE_INSTANCE
- Marker instance which indicates an immutable instance, which should not be cloned. E.g. an
PreparedBeanCopier.InstanceFactoryCreator.InstanceFactory should
return this for primitive types
newReplacementInstance
Object newReplacementInstance(Class<?> type)
- Returns a new instance for the given
Class type
- Parameters:
type -
- Returns:
- new instance
- See Also:
IMMUTABLE_INSTANCE
Copyright © 2013. All Rights Reserved.