package aeronicamc.mods.mxtune.gui;

import net.minecraft.client.Minecraft;

public class Handler
{
    private static final Minecraft mc = Minecraft.getInstance();

    private Handler()
    {
        // NOP
    }

    public static void openTestScreen()
    {
        mc.tell(()->mc.setScreen(new TestScreen(null)));
    }
    public static void openGuiMultiInstChooser()
    {
        mc.tell(()->mc.setScreen(new GuiMultiInstChooser(null)));
    }
}

package aeronicamc.mods.mxtune.gui;

import aeronicamc.mods.mxtune.util.AntiNull;
import net.minecraft.client.Minecraft;

public class Handler
{
    private static final Minecraft mc = Minecraft.getInstance();

    private Handler()
    {
        // NOP
    }

    public static void openTestScreen()
    {
        mc.tell(()->mc.setScreen(new TestScreen()));
    }
    public static void openGuiMultiInstChooser()
    {
        mc.tell(()->mc.setScreen(new GuiMultiInstChooser(AntiNull.nonNullInjected())));
    }
}

Stop IntelliJ null warnings for non-null allow parameters...
Stop IntelliJ null warnings for non-null allow parameters...
