org.simpleflatmapper.map.mapper.GenericBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-map Show documentation
Show all versions of sfm-map Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.map.mapper;
import org.simpleflatmapper.map.FieldMapper;
import org.simpleflatmapper.map.MappingContext;
import org.simpleflatmapper.reflect.BiInstantiator;
import org.simpleflatmapper.reflect.Setter;
import org.simpleflatmapper.util.ErrorHelper;
import org.simpleflatmapper.util.Function;
import java.lang.reflect.Method;
public final class GenericBuilder {
public static final Method BUILD;
static {
try {
BUILD = GenericBuilder.class.getMethod("build");
} catch (NoSuchMethodException e) {
throw new Error("Unexpected error " + e, e);
}
}
public final Object[] objects;
public final BiInstantiator