nl: return true if the rule is triggered by the given line and name given the structure of the supplied document concode_field_sep List<String> parameters concode_elem_sep int lineNumber concode_elem_sep RuleType ruleType concode_elem_sep int lineNumberLimit concode_field_sep String extractJSValidatorName concode_elem_sep int getLineNumber concode_elem_sep RuleType getRuleType concode_elem_sep List<String> getParameters concode_elem_sep int getLineNumberLimit concode_elem_sep void setLineNumberLimit concode_elem_sep boolean isInsideSentences concode_elem_sep void addParameter
code: boolean function ( Document arg0 , ValidationError arg1 ) { int loc0 = arg1 . getLineNumber ( ) ; String loc1 = arg1 . getValidatorName ( ) ; if ( loc1 . equals ( "srini_string" ) ) { loc1 = extractJSValidatorName ( arg1 . getMessage ( ) ) ; } return isTriggeredBy ( arg0 , loc0 , loc1 ) ; }