// pay no attention to this use of protected API
WODeployedBundle appBundle = resources._appProjectBundle();
if (appBundle instanceof WOProjectBundle) {
WOProjectBundle project = (WOProjectBundle) appBundle;
_WOProject woproject = project._woProject();
String filePath = woproject._pathToSourceFileForClass(fullClassName, filename);
if (filePath == null) {
// inform user file not found?
} else {
_IDEProject ideproject = woproject.ideProject();
int lineInt = (line == null) ? 0 : line.intValue();
ideproject.openFile(filePath, lineInt, errorMessage);
}
}