private static void add(Map<String, ParamModel> results, AnnotatedElement e, I18n parentI18n, LocalStringManager localStrings) {
Param param = e.getAnnotation(Param.class);
if (param!=null) {
String defaultValue = param.defaultValue();
ModelBinding mb = e.getAnnotation(ModelBinding.class);
if (mb!=null && defaultValue.isEmpty()) {
Method m = null;
try {
m = mb.type().getMethod(mb.getterMethodName());
} catch (NoSuchMethodException e1) {
// ignore.
}
if (m!=null) {
Attribute attr = m.getAnnotation(Attribute.class);