Package | Description |
---|---|
org.jadira.reflection.access.model | |
org.jadira.reflection.cloning.implementor |
Modifier and Type | Method and Description |
---|---|
static <C> FieldModel<C> |
FieldModel.get(Field f,
FieldAccess<C> fieldAccess)
Returns a field model for the given Field and FieldAccess instance.
|
FieldModel<C>[] |
ClassModel.getModelFields()
Return an array of FieldModel for the class - one entry per Field
|
Modifier and Type | Method and Description |
---|---|
protected <T> Object |
UnsafeCloneStrategy.getFieldValue(T obj,
FieldModel<T> f) |
protected <T> Object |
PortableCloneStrategy.getFieldValue(T obj,
FieldModel<T> f) |
protected <T> Object |
InvokeDynamicCloneStrategy.getFieldValue(T obj,
FieldModel<T> f) |
protected <T> Object |
AsmCloneStrategy.getFieldValue(T obj,
FieldModel<T> f) |
protected abstract <T> Object |
AbstractCloneStrategy.getFieldValue(T obj,
FieldModel<T> f)
Method to retrieve the value of a particular field
|
protected <T> void |
AbstractCloneStrategy.handleCloneField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse,
long stackDepth)
Clone a Field
|
protected <T> void |
UnsafeCloneStrategy.handleClonePrimitiveField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse) |
protected <T> void |
PortableCloneStrategy.handleClonePrimitiveField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse) |
protected <T> void |
InvokeDynamicCloneStrategy.handleClonePrimitiveField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse) |
protected <T> void |
AsmCloneStrategy.handleClonePrimitiveField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse) |
protected abstract <T> void |
AbstractCloneStrategy.handleClonePrimitiveField(T obj,
T copy,
CloneDriver driver,
FieldModel<T> f,
IdentityHashMap<Object,Object> referencesToReuse)
Method should clone the given primitive field
|
protected <T> void |
UnsafeCloneStrategy.handleTransientField(T copy,
FieldModel<T> f) |
protected <T> void |
PortableCloneStrategy.handleTransientField(T copy,
FieldModel<T> f) |
protected <T> void |
InvokeDynamicCloneStrategy.handleTransientField(T copy,
FieldModel<T> f) |
protected <T> void |
AsmCloneStrategy.handleTransientField(T copy,
FieldModel<T> f) |
protected abstract <T> void |
AbstractCloneStrategy.handleTransientField(T copy,
FieldModel<T> f)
Implementations should ensure that transient fields are left with the correct default (unset) value
|
protected <T> void |
UnsafeCloneStrategy.putFieldValue(T obj,
FieldModel<T> f,
Object value) |
protected <T> void |
PortableCloneStrategy.putFieldValue(T obj,
FieldModel<T> f,
Object value) |
protected <T> void |
InvokeDynamicCloneStrategy.putFieldValue(T obj,
FieldModel<T> f,
Object value) |
protected <T> void |
AsmCloneStrategy.putFieldValue(T obj,
FieldModel<T> f,
Object value) |
protected abstract <T> void |
AbstractCloneStrategy.putFieldValue(T obj,
FieldModel<T> f,
Object value)
Put the given value into the target field
|
Copyright © 2010–2018 Jadira Systems. All rights reserved.