org.simpleflatmapper.reflect.MethodGetterPair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sfm-reflect Show documentation
Show all versions of sfm-reflect Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.simpleflatmapper.reflect;
import java.lang.reflect.Method;
public class MethodGetterPair {
private final Method method;
private final Getter super T, ?> getter;
public MethodGetterPair(Method method, Getter super T, ?> getter) {
this.method = method;
this.getter = getter;
}
public Method getMethod() {
return method;
}
public Getter super T, ?> getGetter() {
return getter;
}
}