for (Method method : configClass.getMethods()) {
Configuration c = method.getAnnotation(Configuration.class);
if (c == null)
continue;
String defaultValue = null;
DefaultValue dv = method.getAnnotation(DefaultValue.class);
if (dv != null)
defaultValue = dv.value();
String name = getPropertyName(method, c);
if (method.getReturnType().isAssignableFrom(Supplier.class)) {
Type returnType = method.getGenericReturnType();