code: Set<ElementKind> getKinds(Element element) {
      final ImmutableSet.Builder<ElementKind> kinds = ImmutableSet.builder();
  
      if (element.getKind() == ElementKind.INTERFACE) {
        kinds.add(ElementKind.METHOD);
      }
  
      if (element.getKind() == ElementKind.CLASS) {
        kinds.add(ElementKind.FIELD);
  
        if (element.getModifiers().contains(Modifier.ABSTRACT)) {
          kinds.add(ElementKind.METHOD);
        }
      }
  
      return kinds.build();
    }
docs: Get the set of supported element kinds that make up the total set of fields for this type.
  
  @param element
  @return