Search Results
OK to copy?
Examples 1 through 10 of
20 (0.0080 seconds)
Class:
org.apache.axis.encoding.ser.SimpleDeserializerFactory
©,
Rating:
0% of 0,
C2
Class: org.springframework.util.ObjectUtils ©, Rating: 0% of 0, C2
Class: org.springframework.beans.BeanUtils ©, Rating: 0% of 0, C3
Class: org.springframework.beans.BeanUtils ©, Rating: 0% of 0, C1
Class: org.apache.axis.utils.bytecode.ClassReader ©, Rating: 0% of 0, C3
Class: org.apache.jmeter.testbeans.TestBean ©, Rating: 0% of 0, C2
Class: org.springframework.aop.framework.Cglib2AopProxy ©, Rating: 0% of 0, C3
Class: org.apache.jasper.compiler.JspUtil ©, Rating: 0% of 0, C3
Class: org.apache.axis.utils.JavaUtils ©, Rating: 0% of 0, C2
Class: org.apache.axis.utils.JavaUtils ©, Rating: 0% of 0, C3
081 super(SimpleDeserializer.class, xmlType, javaType);
082 try {
083 if (!javaType.isPrimitive()) {
084 constructor =
085 javaType.getDeclaredConstructor(new Class [] {String.class});
Class: org.springframework.util.ObjectUtils ©, Rating: 0% of 0, C2
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(),
100 "The specified parameter is not a primitive array.");
101 int length = Array.getLength(primitiveArray);
Class: org.springframework.beans.BeanUtils ©, Rating: 0% of 0, C3
248 */
249 public static boolean isSimpleProperty(Class clazz) {
250 return clazz.isPrimitive() || isPrimitiveArray(clazz) || isPrimitiveWrapperArray(clazz) ||
251 clazz.equals(String.class) || clazz.equals(String[].class) ||
252 clazz.equals(Class.class) || clazz.equals(Class[].class);
Class: org.springframework.beans.BeanUtils ©, Rating: 0% of 0, C1
216 */
217 public static boolean isAssignable(Class type, Object value) {
218 return (value != null ? isAssignable(type, value.getClass()) : !type.isPrimitive());
219 }
220
Class: org.apache.axis.utils.bytecode.ClassReader ©, Rating: 0% of 0, C3
179
180 private static void addDescriptor(StringBuffer b, Class c) {
181 if (c.isPrimitive()) {
182 if (c == void.class)
183 b.append('V');
Class: org.apache.jmeter.testbeans.TestBean ©, Rating: 0% of 0, C2
124
125 // Set the bean's property to the value we just obtained:
126 if (value != null || !type.isPrimitive())
127 // We can't assign null to primitive types.
128 {
Class: org.springframework.aop.framework.Cglib2AopProxy ©, Rating: 0% of 0, C3
810 return INVOKE_TARGET;
811 }
812 else if (returnType.isPrimitive() || !returnType.isAssignableFrom(targetClass)) {
813 if (logger.isDebugEnabled()) {
814 logger.debug("Method " + method +
Class: org.apache.jasper.compiler.JspUtil ©, Rating: 0% of 0, C3
0504 String targetType = expectedType.getName();
0505 String primitiveConverterMethod = null;
0506 if (expectedType.isPrimitive()) {
0507 if (expectedType.equals(Boolean.TYPE)) {
0508 targetType = Boolean.class.getName();
Class: org.apache.axis.utils.JavaUtils ©, Rating: 0% of 0, C2
0956 try {
0957 Field valueField = holder.getClass().getField("value");
0958 if (valueField.getType().isPrimitive()) {
0959 if (value == null)
0960 ; // Don't need to set anything
Class: org.apache.axis.utils.JavaUtils ©, Rating: 0% of 0, C3
0602 }
0603
0604 if (src.isPrimitive()) {
0605 return isConvertable(getWrapperClass(src),dest);
0606 }