code: @Override
      public boolean isOrdinaryClass() {
          if (isEnum() || isInterface() || isAnnotationType()) {
              return false;
          }
          for (Type t = type; t.hasTag(CLASS); t = env.types.supertype(t)) {
              if (t.tsym == env.syms.errorType.tsym ||
                  t.tsym == env.syms.exceptionType.tsym) {
                  return false;
              }
          }
          return true;
      }
docs: Return true if this is a ordinary class,
  not an enumeration, exception, an error, or an interface.