/*
* May be this is the selection in outline view, if complete class is shown.
* Because there are no bytecode instructions/offset for method name, we need
* to find and select first method line. See cr 306011
*/
DecompiledMethod match = lastDecompiledResult.getBestDecompiledMatch(sourceLine);
if(match != null){
// this is relative to method start
decompiledLine = match.getBestDecompiledLine(sourceLine);
if(decompiledLine > 0){
// convert to class file relative
decompiledLine = lastDecompiledResult.getDecompiledLine(match, decompiledLine);
}
}