*/
protected void preMakeWriterValidation(final PropertyDescriptor descriptor)
throws InspectionPropertyNotFoundException, GeDARuntimeException {
final Method writeMethod = descriptor.getWriteMethod();
if (writeMethod == null) {
throw new InspectionPropertyNotFoundException("No write method for: ", descriptor.getName());
}
final Class< ? > target = getValidDeclaringClass(writeMethod);
if ((target.getModifiers() & PUBLIC) == 0) {
throw new GeDARuntimeException(target.getCanonicalName()
+ " does not have [public] modifier. This will cause IllegalAccessError during runtime.");