public Set<String> getVariableNameUsedBy(String variableName) {
   Set<String> statements = statementVariableRef.getStatementNamesForVar(variableName);
   if ((statements == null) || (statements.isEmpty())) {
     return Collections.emptySet();
   }
   return Collections.unmodifiableSet(statements);
 }
 public Set<String> getEventTypeNameUsedBy(String name) {
   Set<String> statements = statementEventTypeRef.getStatementNamesForType(name);
   if ((statements == null) || (statements.isEmpty())) {
     return Collections.emptySet();
   }
   return Collections.unmodifiableSet(statements);
 }