{
    String attributeValue = getAttributeValue("Ecore", "visibility");
    if (attributeValue != null)
    {
      Matcher matcher = VISIBILITY_VALUE_PATTERN.matcher(attributeValue);
      if (matcher.matches())
      {
        return Integer.parseInt(matcher.group(1));
      }
    }
    return VISIBILITY_UNSPECIFIED;
  }