/** * Creates new {@link PropertyDescriptor}. Note that this method may be called * up to three times (depends on use case) for the same property. Each time when * a property is updated, a new definition is created with updated information. */ protected PropertyDescriptor createPropertyDescriptor(String name, MethodDescriptor getterMethod, MethodDescriptor setterMethod) { return new PropertyDescriptor(classDescriptor, name, getterMethod, setterMethod); }
/** * Creates new field-only {@link PropertyDescriptor}. It will be invoked only once. */ protected PropertyDescriptor createPropertyDescriptor(String name, FieldDescriptor fieldDescriptor) { return new PropertyDescriptor(classDescriptor, name, fieldDescriptor); }
/** * Creates new field-only {@link PropertyDescriptor}. It will be invoked only once. */ protected PropertyDescriptor createPropertyDescriptor(final String name, final FieldDescriptor fieldDescriptor) { return new PropertyDescriptor(classDescriptor, name, fieldDescriptor); }
/** * Creates new {@link PropertyDescriptor}. Note that this method may be called * up to three times (depends on use case) for the same property. Each time when * a property is updated, a new definition is created with updated information. */ protected PropertyDescriptor createPropertyDescriptor(final String name, final MethodDescriptor getterMethod, final MethodDescriptor setterMethod) { return new PropertyDescriptor(classDescriptor, name, getterMethod, setterMethod); }
/** * Creates new {@link PropertyDescriptor}. Note that this method may be called * up to three times (depends on use case) for the same property. Each time when * a property is updated, a new definition is created with updated information. */ protected PropertyDescriptor createPropertyDescriptor(final String name, final MethodDescriptor getterMethod, final MethodDescriptor setterMethod) { return new PropertyDescriptor(classDescriptor, name, getterMethod, setterMethod); }
/** * Creates new field-only {@link PropertyDescriptor}. It will be invoked only once. */ protected PropertyDescriptor createPropertyDescriptor(final String name, final FieldDescriptor fieldDescriptor) { return new PropertyDescriptor(classDescriptor, name, fieldDescriptor); }