@ -44,12 +44,14 @@ import org.springframework.util.MultiValueMap;
@@ -44,12 +44,14 @@ import org.springframework.util.MultiValueMap;
* /
public class MethodMetadataReadingVisitor extends MethodVisitor implements MethodMetadata {
protected final String n ame;
protected final String methodN ame;
protected final int access ;
protected final String declaringClassName ;
protected final String returnTypeName ;
protected final ClassLoader classLoader ;
protected final Set < MethodMetadata > methodMetadataSet ;
@ -58,13 +60,14 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
@@ -58,13 +60,14 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
new LinkedMultiValueMap < String , AnnotationAttributes > ( 4 ) ;
public MethodMetadataReadingVisitor ( String n ame, int access , String declaringClassName ,
ClassLoader classLoader , Set < MethodMetadata > methodMetadataSet ) {
public MethodMetadataReadingVisitor ( String methodN ame, int access , String declaringClassName ,
String returnTypeName , ClassLoader classLoader , Set < MethodMetadata > methodMetadataSet ) {
super ( SpringAsmInfo . ASM_VERSION ) ;
this . name = n ame;
this . methodName = methodN ame;
this . access = access ;
this . declaringClassName = declaringClassName ;
this . returnTypeName = returnTypeName ;
this . classLoader = classLoader ;
this . methodMetadataSet = methodMetadataSet ;
}
@ -79,7 +82,7 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
@@ -79,7 +82,7 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
@Override
public String getMethodName ( ) {
return this . n ame;
return this . methodN ame;
}
@Override
@ -144,4 +147,9 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
@@ -144,4 +147,9 @@ public class MethodMetadataReadingVisitor extends MethodVisitor implements Metho
return this . declaringClassName ;
}
@Override
public String getReturnTypeName ( ) {
return this . returnTypeName ;
}
}