"Cannot determine ruleClassName for " + resource + " " + lineNumber, null ) );
}
private int getRuleLineNumber(DRLInfo drlInfo, String resource, int lineNumber) throws CoreException {
if ( drlInfo != null ) {
RuleInfo ruleInfo = drlInfo.getRuleInfo( lineNumber );
if ( ruleInfo != null ) {
if ( ruleInfo.getConsequenceDrlLineNumber() < lineNumber ) {
int line = ruleInfo.getConsequenceJavaLineNumber()
+ (lineNumber - ruleInfo.getConsequenceDrlLineNumber());
if (ruleInfo.getDialectName() != null && ruleInfo.getDialectName().equals( "mvel" )) {
return line;
}
return line+1;
}
}