code: public static Set<Class<? extends Annotation>> getStereotypes(final Class<?> clazz) {
          final Set<Class<? extends Annotation>> ret = new HashSet<>();
  
          final Set<Annotation> annotations = getAnnotations(clazz.getAnnotations(), Stereotype.class);
          if (annotations.isEmpty()) {
              return ret;
          }
  
          for (final Annotation annotation : annotations) {
              ret.add(annotation.annotationType());
          }
  
          return ret;
      }
docs: Gets stereo types of the specified class.
  
  @param clazz the specified class
  @return stereo types of the specified class