+
+ public void addFieldAccessor(String name, Constant accessor) {
+ List<Constant> list = fieldAccessors.get(name);
+ if(list == null) {
+ list = new ArrayList<Constant>(2);
+ fieldAccessors.put(name, list);
+ }
+ list.add(accessor);
+ }
+
+ public void addRuleset(String name, CHRRuleset ruleset) {
+ rulesets.put(name, ruleset);
+ }
+
+ @Override
+ public String getDeprecation() {
+ return deprecation;
+ }
+
+ public void setDeprecation(String deprecation) {
+ this.deprecation = deprecation;
+ }
+
+ @Override
+ public ModuleDebugInfo getModuleDebugInfo() {
+ return moduleDebugInfo;
+ }