Search Results
OK to copy?
Examples 1 through 10 of
48 (0.087 seconds)
Class:
org.springframework.beans.propertyeditors.ClassEditor
©,
Rating:
0% of 0,
C1
Class: org.springframework.util.ObjectUtils ©, Rating: 0% of 0, C2
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
Class: org.apache.axis.encoding.ser.BeanPropertyTarget ©, Rating: 0% of 0, C3
Class: org.springframework.web.bind.ServletRequestDataBinder ©, Rating: 0% of 0, C3
Class: org.apache.axis.types.Schema ©, Rating: 0% of 0, C2
Class: org.springframework.beans.factory.config.ConstructorArgumentValues ©, Rating: 0% of 0, C2
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
54 public String getAsText() {
55 Class clazz = (Class) getValue();
56 return (clazz.isArray() ? clazz.getComponentType().getName() + ClassUtils.ARRAY_SUFFIX : clazz.getName());
57 }
58
Class: org.springframework.util.ObjectUtils ©, Rating: 0% of 0, C2
095 }
096 Class clazz = primitiveArray.getClass();
097 Assert.isTrue(clazz.isArray(),
098 "The specified parameter is not an array - it must be a primitive array.");
099 Assert.isTrue(clazz.getComponentType().isPrimitive(),
Class: org.springframework.beans.propertyeditors.CustomCollectionEditor ©, Rating: 0% of 0, C2
098 super.setValue(target);
099 }
100 else if (value != null && value.getClass().isArray()) {
101 // Convert array elements to Collection elements.
102 int length = Array.getLength(value);
Class: org.apache.axis.encoding.ser.BeanPropertyTarget ©, Rating: 0% of 0, C3
135 // cases traverse the array and
136 // call the setter for each item.
137 if (index == 0 &&
138 value.getClass().isArray() &&
139 !type.getClass().isArray()) {
Class: org.springframework.web.bind.ServletRequestDataBinder ©, Rating: 0% of 0, C3
151 pvs.addPropertyValue(field, Boolean.FALSE);
152 }
153 else if (type != null && type.isArray()) {
154 // Special handling of array property.
155 pvs.addPropertyValue(field, Array.newInstance(type.getComponentType(), 0));
Class: org.apache.axis.types.Schema ©, Rating: 0% of 0, C2
144 i++) {
145 java.lang.Object obj = java.lang.reflect.Array.get(get_any(), i);
146 if (obj != null &&
147 !obj.getClass().isArray()) {
148 _hashCode += obj.hashCode();
Class: org.springframework.beans.factory.config.ConstructorArgumentValues ©, Rating: 0% of 0, C2
137 }
138 }
139 else if (requiredType.isInstance(value) || (requiredType.isArray() && List.class.isInstance(value))) {
140 return valueHolder;
141 }
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
402 componentType = javaType.getComponentType();
403 if (componentType.isArray()) {
404 while (componentType.isArray()) {
405 dimString += "[]";
406 componentType = componentType.getComponentType();
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
401 String dimString = "[]";
402 componentType = javaType.getComponentType();
403 if (componentType.isArray()) {
404 while (componentType.isArray()) {
405 dimString += "[]";
Class: org.apache.axis.encoding.ser.ArraySerializer ©, Rating: 0% of 0, C2
398 String componentTypeName = null;
399 Class componentType = null;
400 if (javaType.isArray()) {
401 String dimString = "[]";
402 componentType = javaType.getComponentType();