Class MiscUtils

java.lang.Object
dev.sefiraat.sefilib.misc.MiscUtils

public final class MiscUtils extends Object
This class contains basic utility methods that do not fit in any other category.
  • Method Details

    • forceInit

      public static <T> Class<T> forceInit(Class<T> clazz)
      Forces a class to be loaded by the JVM
      Type Parameters:
      T - The type of the class
      Parameters:
      clazz - The class to load
      Returns:
      The class that was loaded