if ( drlInfo != null ) {
RuleInfo ruleInfo = drlInfo.getRuleInfo( lineNumber );
if ( ruleInfo != null ) {
return ruleInfo.getClassName();
}
FunctionInfo functionInfo = drlInfo.getFunctionInfo( lineNumber );
if ( functionInfo != null ) {
return functionInfo.getClassName();
}
}
throw new CoreException( new Status( IStatus.ERROR, DroolsEclipsePlugin.getUniqueIdentifier(), 0,
"Cannot determine ruleClassName for " + resource + " " + lineNumber, null ) );
}