removed commented code
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -24,6 +24,7 @@ _site/
|
|||||||
*.iws
|
*.iws
|
||||||
.idea/
|
.idea/
|
||||||
.factorypath
|
.factorypath
|
||||||
|
.checkstyle
|
||||||
coverage-error.log
|
coverage-error.log
|
||||||
.apt_generated
|
.apt_generated
|
||||||
credentials.yml
|
credentials.yml
|
||||||
|
|||||||
@@ -49,20 +49,8 @@ public abstract class FunctionContextUtils {
|
|||||||
|
|
||||||
Type param = null;
|
Type param = null;
|
||||||
if (source instanceof MethodMetadata) {
|
if (source instanceof MethodMetadata) {
|
||||||
// System.out.println(((MethodMetadata)source).getDeclaringClassName());
|
|
||||||
param = findBeanType(definition, ((MethodMetadata) source).getDeclaringClassName(), ((MethodMetadata) source).getMethodName());
|
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) {
|
else if (source instanceof Resource) {
|
||||||
param = registry.getType(name);
|
param = registry.getType(name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user