Lines Matching defs:writeMethod
126 * @param writeMethod The method used for writing the property value.
131 public PropertyDescriptor(String propertyName, Method readMethod, Method writeMethod)
138 setWriteMethod(writeMethod);
270 Method writeMethod = getWriteMethod0();
271 if (writeMethod == null) {
297 writeMethod = Introspector.findMethod(cls, writeMethodName, 1, args);
298 if (writeMethod != null) {
299 if (!writeMethod.getReturnType().equals(void.class)) {
300 writeMethod = null;
304 setWriteMethod(writeMethod);
309 return writeMethod;
315 * @param writeMethod The new write method.
317 public synchronized void setWriteMethod(Method writeMethod)
319 if (writeMethod == null) {
325 setPropertyType(findPropertyType(getReadMethod(), writeMethod));
326 setClass0(writeMethod.getDeclaringClass());
328 writeMethodName = writeMethod.getName();
329 this.writeMethodRef = getSoftReference(writeMethod);
330 setTransient(writeMethod.getAnnotation(Transient.class));
651 private Class findPropertyType(Method readMethod, Method writeMethod)
667 if (writeMethod != null) {
668 Class params[] = getParameterTypes(getClass0(), writeMethod);
671 + writeMethod);
728 appendTo(sb, "writeMethod", this.writeMethodRef);