com.gitee.feizns.convert.method.valueof.SingleParameterValueOfConverter Maven / Gradle / Ivy
package com.gitee.feizns.convert.method.valueof;
import com.gitee.feizns.convert.Converter;
import com.gitee.feizns.convert.method.AbstractMethodConverter;
import com.gitee.feizns.convert.method.valueof.handle.SingleParameterValueOfHandler;
import java.util.Set;
/**
* @author feizns
* @since 2019/6/22 0022
*/
public class SingleParameterValueOfConverter extends AbstractMethodConverter {
@Override
protected Object to(Object source, Class targetType, Set converters) {
return new SingleParameterValueOfHandler(source.getClass(), targetType).invoke(source, converters);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy