public static String getRuleName(AbstractRule rule) {
		RuleWithParameterValues parameterValues = RuleWithParameterValues.findInEmfObject(rule);
		if (parameterValues != null) {
			return rule.getName();
		}
		RuleNames ruleNames = RuleNames.getRuleNames(rule);
		return ruleNames.getAntlrRuleName(rule);
	}
public static String getRuleName ( AbstractRule rule ) { RuleWithParameterValues parameterValues = RuleWithParameterValues . findInEmfObject ( rule ) ; if ( parameterValues != null ) { return rule . getName ( ) ; } RuleNames ruleNames = RuleNames . getRuleNames ( rule ) ; return ruleNames . getAntlrRuleName ( rule ) ; }
Returns the effective rule name for the generated Antlr grammar.
Inherited rules may be prefixed by {@code super[0..9]*}. Otherwise the
prefix {@code rule or RULE_} is used.
@since 2.9