public Object invokeMethodByName(DfsContext dfsContext, Class<?> implClass, String methodName, Object... args) { Object defaultValue = null; if (StringUtils.hasText(methodName)) { Object object = null; if (getGraphQLSchemaBeanFactory().containsBean(implClass)) object = getGraphQLSchemaBeanFactory().getBeanByType(implClass); Method defaultValueProviderMethod = args == null ? org.springframework.util.ReflectionUtils.findMethod(implClass, methodName) : org.springframework.util.ReflectionUtils.findMethod(implClass, methodName, getArgumentClasses(args)); if (defaultValueProviderMethod != null) { defaultValue = org.springframework.util.ReflectionUtils.invokeMethod(defaultValueProviderMethod, object, args); } } return defaultValue; }