super(ExternalValue.class);
this.valueSource = null;
}
public Object processMethod(Method m) throws ValueResolutionException {
ExternalValue ev = m.getAnnotation(ExternalValue.class);
Assert.notNull(ev, "method must be annotated with @ExternalValue");
String name = ev.value();
if ("".equals(name)) {
name = m.getName();
// Strip property name if needed
if (name.startsWith("get")) {
name = Character.toLowerCase(name.charAt(3)) + name.substring(4);