All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gitee.feizns.convert.method.valueof.SingleParameterValueOfConverter Maven / Gradle / Ivy

There is a newer version: 5.5-RELEASE
Show newest version
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