Examples of resolveComponentType()


Examples of jodd.introspector.PropertyDescriptor.resolveComponentType()

      // value is one of JSON basic types, like Number, Map, List...
      Object value = map.get(key);

      Class propertyType = pd == null ? null : pd.getType();
      Class componentType = pd == null ? null : pd.resolveComponentType(true);

      if (value != null) {
        if (value instanceof List) {
          if (componentType != null && componentType != String.class) {
            value = generifyList((List) value, componentType);
View Full Code Here

Examples of jodd.introspector.PropertyDescriptor.resolveComponentType()

        pd = targetTypeClassDescriptor.getPropertyDescriptor(key, true);

        if (pd != null) {
          propertyType = pd.getType();
          keyType = pd.resolveKeyType(true);
          componentType = pd.resolveComponentType(true);
        }
      }

      Object value;
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.