src/share/classes/java/beans/PropertyDescriptor.java

Print this page
rev 10053 : 8044855: Add missing @since tag under java.beans.*
Reviewed-by:

*** 30,39 **** --- 30,40 ---- import java.lang.reflect.Constructor; /** * A PropertyDescriptor describes one property that a Java Bean * exports via a pair of accessor methods. + * @since 1.1 */ public class PropertyDescriptor extends FeatureDescriptor { private Reference<? extends Class<?>> propertyTypeRef; private final MethodRef readMethodRef = new MethodRef();
*** 242,251 **** --- 243,253 ---- /** * Sets the method that should be used to read the property value. * * @param readMethod The new read method. * @throws IntrospectionException if the read method is invalid + * @since 1.2 */ public synchronized void setReadMethod(Method readMethod) throws IntrospectionException { this.readMethodRef.set(readMethod); if (readMethod == null) {
*** 312,321 **** --- 314,324 ---- /** * Sets the method that should be used to write the property value. * * @param writeMethod The new write method. * @throws IntrospectionException if the write method is invalid + * @since 1.2 */ public synchronized void setWriteMethod(Method writeMethod) throws IntrospectionException { this.writeMethodRef.set(writeMethod); if (writeMethod == null) {