code: public static void validateBeanAttributes(BeanAttributes<?> attributes, BeanManager manager) {
          validateStereotypes(attributes, manager);
          validateQualifiers(attributes, manager);
          validateTypes(attributes, manager);
          validateScope(attributes, manager);
      }
docs: Validates {@link BeanAttributes}.
  @param attributes {@link BeanAttributes} to validate