Examples of ReflectiveAdapter


Examples of org.dcm4che3.conf.api.generic.adapters.ReflectiveAdapter

        Map<Class, ConfigTypeAdapter> def = DefaultConfigTypeAdapters.get();

        // if it is a config class, use reflective adapter
        if (clazz.getAnnotation(ConfigClass.class) != null) {
            adapter = new ReflectiveAdapter(clazz);
        } else if (clazz.isArray()) {
            // if array
            adapter = (ConfigTypeAdapter<T, ?>) new DefaultConfigTypeAdapters.ArrayTypeAdapter();
        } else {
            if (clazz.isEnum()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.