docs: @SuppressWarnings({ "unchecked", "rawtypes" })
      public Enum<?> findEnumValue(final String enumRef) {
          int sep = enumRef.lastIndexOf('/');
          if (sep == -1) {
              throw new JsiiException("Malformed enum reference: " + enumRef);
          }
  
          String typeName = enumRef.substring(0, sep);
          String valueName = enumRef.substring(sep + 1);
          try {
              Class klass = resolveJavaClass(typeName);
              return Enum.valueOf(klass, valueName);
          } catch (final ClassNotFoundException e) {
              throw new JsiiException("Unable to resolve enum type " + typeName, e);
          }
      }