code: public List<Taglet> getCustomTaglets(Element e) {
          switch (e.getKind()) {
              case CONSTRUCTOR:
                  return getConstructorCustomTaglets();
              case METHOD:
                  return getMethodCustomTaglets();
              case ENUM_CONSTANT:
              case FIELD:
                  return getFieldCustomTaglets();
              case ANNOTATION_TYPE:
              case INTERFACE:
              case CLASS:
              case ENUM:
                  return getTypeCustomTaglets();
              case MODULE:
                  return getModuleCustomTaglets();
              case PACKAGE:
                  return getPackageCustomTaglets();
              case OTHER:
                  return getOverviewCustomTaglets();
              default:
                  throw new AssertionError("unknown element: " + e + " ,kind: " + e.getKind());
          }
      }
docs: Returns the custom tags for a given element.
  
  @param e the element to get custom tags for
  @return the array of <code>Taglet</code>s that can
  appear in the given element.