java.lang.Object
xyz.jpenilla.reflectionremapper.internal.util.Util

@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class) public final class Util extends Object
  • Method Details

    • mojangMapped

      public static boolean mojangMapped()
    • classExists

      public static boolean classExists(String className)
    • sneakyThrow

      public static <E extends Throwable> E sneakyThrow(Throwable ex) throws E
      Throws:
      E extends Throwable
    • sneakyThrows

      public static <T> T sneakyThrows(Util.ThrowingSupplier<T> supplier)
    • isSynthetic

      public static boolean isSynthetic(int modifiers)
    • findProxiedClass

      public static Class<?> findProxiedClass(Class<?> proxyInterface, UnaryOperator<String> classMapper)
    • handleForDefaultMethod

      public static MethodHandle handleForDefaultMethod(Class<?> interfaceClass, Method method) throws Throwable
      Throws:
      Throwable
    • topDownInterfaceHierarchy

      public static List<Class<?>> topDownInterfaceHierarchy(Class<?> cls)
    • descriptorString

      public static String descriptorString(Class<?> clazz)