return;
}
org.osoa.sca.annotations.Property annotation = method.getAnnotation(org.osoa.sca.annotations.Property.class);
if (annotation != null) {
if (!Modifier.isPublic(method.getModifiers())) {
InvalidSetterException e = new InvalidSetterException("Property setter method is not public");
e.setIdentifier(method.toString());
throw e;
}
Class<?>[] params = method.getParameterTypes();
if (params.length != 1) {
InvalidSetterException e = new InvalidSetterException("Property setter method must have one parameter");
e.setIdentifier(method.toString());
throw e;
}
String name = annotation.name();
if (name.length() == 0) {
name = method.getName();