log.warn(annotation.deprecatedMessage());
}
}
String propertyValue=props.getProperty(propertyName);
if(propertyValue != null || !annotation.converter().equals(PropertyConverters.Default.class)){
PropertyConverter propertyConverter=(PropertyConverter)annotation.converter().newInstance();
if(propertyConverter == null) {
String name=obj instanceof Protocol? ((Protocol)obj).getName() : obj.getClass().getName();
throw new Exception("Could not find property converter for field " + propertyName
+ " in " + name);
}