1 18 package org.apache.beehive.netui.compiler.grammar; 19 20 import org.apache.beehive.netui.compiler.typesystem.env.AnnotationProcessorEnvironment; 21 import org.apache.beehive.netui.compiler.Diagnostics; 22 import org.apache.beehive.netui.compiler.RuntimeVersionChecker; 23 24 public class ValidateCustomGrammar 25 extends BaseValidationRuleGrammar 26 { 27 private static final String [][] REQUIRED_ATTRS = { { MESSAGE_ATTR, MESSAGE_KEY_ATTR } }; 28 29 public ValidateCustomGrammar( AnnotationProcessorEnvironment env, Diagnostics diagnostics, 30 RuntimeVersionChecker rvc ) 31 { 32 super( env, diagnostics, rvc ); 33 } 34 35 public String [][] getRequiredAttrs() 36 { 37 return REQUIRED_ATTRS; 38 } 39 } 40 41 42 | Popular Tags |