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 25 public class ValidateValidWhenGrammar 26 extends BaseValidationRuleGrammar 27 { 28 private static final String [][] REQUIRED_ATTRS = { { MESSAGE_ATTR, MESSAGE_KEY_ATTR } }; 29 30 public ValidateValidWhenGrammar( AnnotationProcessorEnvironment env, Diagnostics diagnostics, 31 RuntimeVersionChecker rvc ) 32 { 33 super( env, diagnostics, rvc ); 34 } 35 36 public String [][] getRequiredAttrs() 37 { 38 return REQUIRED_ATTRS; 39 } 40 } 41 | Popular Tags |