removed commented code

This commit is contained in:
Oleg Zhurakousky
2019-05-29 09:13:15 +02:00
parent 2dad9b65c1
commit 40b070a8d1
2 changed files with 1 additions and 12 deletions

View File

@@ -49,20 +49,8 @@ public abstract class FunctionContextUtils {
Type param = null;
if (source instanceof MethodMetadata) {
// System.out.println(((MethodMetadata)source).getDeclaringClassName());
param = findBeanType(definition, ((MethodMetadata) source).getDeclaringClassName(), ((MethodMetadata) source).getMethodName());
}
// // Start by assuming output -> Function
// else if (source instanceof StandardMethodMetadata) {
// // Standard @Bean metadata
// param = ((StandardMethodMetadata) source).getIntrospectedMethod()
// .getGenericReturnType();
// }
// else if (source instanceof MethodMetadataReadingVisitor) {
// // A component scan with @Beans
// MethodMetadataReadingVisitor visitor = (MethodMetadataReadingVisitor) source;
// param = findBeanType(definition, visitor);
// }
else if (source instanceof Resource) {
param = registry.getType(name);
}