com.buger.patcher.resolver.factory.impl.TargetIfSourceNullFieldValueResolverFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of object-patcher Show documentation
Show all versions of object-patcher Show documentation
Java Object Patcher is simple,
dependency-free and fast library
which makes patching/merging objects simple.
The newest version!
package com.buger.patcher.resolver.factory.impl;
import com.buger.patcher.resolver.factory.FieldValueResolverFactory;
import com.buger.patcher.resolver.impl.TargetIfSourceNullFieldValueResolver;
import java.lang.reflect.Field;
/**
* @author Created by Buheria Oleksii {@literal [email protected]}
* @version 1.0
* @since 29-09-2020
*/
public class TargetIfSourceNullFieldValueResolverFactory implements FieldValueResolverFactory {
public TargetIfSourceNullFieldValueResolver createFieldPatcher(Field field) {
return new TargetIfSourceNullFieldValueResolver(field);
}
}