List<ReferenceType> refTypes = vm.classesByName("java.lang."+className);
if (refTypes !=null && refTypes.size() >0 ) {
return refTypes.get(0);
}
String locSourcePath = stackFrame.location().sourcePath();
<BUG>String abPath = ctx.findSourceFile(locSourcePath);
List<String> lines = getResourceLines(abPath);</BUG>
Pattern pat = Pattern.compile("import\\s+(.*\\."+className+")\\s*;\\s*$");
String qualifiedClass = null;
int pkgIndex = locSourcePath.lastIndexOf(File.separator);

List<ReferenceType> refTypes = vm.classesByName("java.lang."+className);
if (refTypes !=null && refTypes.size() >0 ) {
return refTypes.get(0);
}
String locSourcePath = stackFrame.location().sourcePath();
String locClassName = locSourcePath.replace("/",".").replace(".java","");
String abPath = ctx.findSourceOrBinPath(locClassName);
List<String> lines = getResourceLines(abPath);
Pattern pat = Pattern.compile("import\\s+(.*\\."+className+")\\s*;\\s*$");
String qualifiedClass = null;
int pkgIndex = locSourcePath.lastIndexOf(File.separator);
