public static String getConsumerClassName(AbstractRule rule) {
		Grammar grammar = GrammarUtil.getGrammar(rule);
		return (grammar != null ? GrammarUtil.getSimpleName(grammar) : "")
				+ (rule.getName() == null ? "Consumer" : Strings.toFirstUpper(rule.getName()) + "Consumer");
	}
public static String getConsumerClassName ( AbstractRule rule ) { Grammar grammar = GrammarUtil . getGrammar ( rule ) ; return ( grammar != null ? GrammarUtil . getSimpleName ( grammar ) : "" ) + ( rule . getName ( ) == null ? "Consumer" : Strings . toFirstUpper ( rule . getName ( ) ) + "Consumer" ) ; }
@param rule
- the rule
@return <code>firstLetterToUpper(rule.name) + "Consumer"</code>