code: private static String getLabel(String name, Priority priority) {
          return priority == null ? null : Labels.getLabel("vistanotification.priority." + name + "." + priority.name());
      }
docs: Returns the label property for the specified attribute name and priority.
  
  @param name The attribute name.
  @param priority Priority value
  @return The label value.