Exemplo n.º 1
0
 @Check(CheckType.FAST)
 public void checkLocalReaction(LocalReaction localReaction) {
   if (localReaction.eContainer() instanceof InterfaceScope) {
     error(
         "Local reactions are not allowed in interface scope.",
         localReaction,
         StextPackage.Literals.LOCAL_REACTION__PROPERTIES,
         ValidationMessageAcceptor.INSIGNIFICANT_INDEX);
   }
 }