@ -57,21 +57,19 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
@@ -57,21 +57,19 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
// the cache uses a nested index (value is a map) to keep the top level cache relatively small in size
@ -82,20 +80,23 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
@@ -82,20 +80,23 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
// We couldn't load the class file, which is not fatal as it
@ -104,7 +105,8 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
@@ -104,7 +105,8 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
logger.debug("Cannot find '.class' file for class ["+clazz
+"] - unable to determine constructors/methods parameter names");
}
returnCollections.emptyMap();
returnNO_DEBUG_INFO_MAP;
}
try{
@ -125,7 +127,7 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
@@ -125,7 +127,7 @@ public class LocalVariableTableParameterNameDiscoverer implements ParameterNameD
@ -188,6 +188,8 @@ public class LocalVariableTableParameterNameDiscovererTests extends TestCase {
@@ -188,6 +188,8 @@ public class LocalVariableTableParameterNameDiscovererTests extends TestCase {
m=clazz.getMethod("getDate",null);
names=discoverer.getParameterNames(m);
assertEquals(0,names.length);
//System.in.read();
}
publicvoidtestMemUsage()throwsException{
@ -207,7 +209,7 @@ public class LocalVariableTableParameterNameDiscovererTests extends TestCase {
@@ -207,7 +209,7 @@ public class LocalVariableTableParameterNameDiscovererTests extends TestCase {