void (@NotNull String resourceName) { Class<?> callerClass = ReflectionUtil.getGrandCallerClass(); if (callerClass == null) { return; } playSoundFromStream(() -> callerClass.getResourceAsStream(resourceName)); }