docs: public ResolvableType[] getInterfaces() {
          Class<?> resolved = resolve();
          Object[] array = resolved.getGenericInterfaces();
          if (resolved == null || (array == null || array.length == 0)) {
              return EMPTY_TYPES_ARRAY;
          }
          if (this.interfaces == null) {
              this.interfaces = forTypes(TypeWrapper.forGenericInterfaces(resolved), asVariableResolver());
          }
          return this.interfaces;
      }