code: public SelectionType getSelection(final Class<?> clazz) {
          final Annotation[] annotations = clazz.getAnnotations();
          return getSelection(annotations);
      }
docs: Gets the selection.
  
  @param clazz
  the clazz
  @return the selection