package io.rocketscience.java.lang;

import java.util.function.Supplier;

public class JavaExtensions {
	
	private JavaExtensions() {
	}
	
	public static void require(boolean condition, String message) throws IllegalStateException {
		if (!condition) {
			throw new IllegalStateException(message);
		}
	}

	public static void require(boolean condition, Supplier<String> lazyMessage) throws IllegalStateException {
		if (!condition) {
			throw new IllegalStateException(lazyMessage.get());
		}
	}
	
}

@@ -78,40 +78,16 @@
 lic 
-class JavaExtensions %7B%0A%09%0A%09privat
+interfac
 e Ja
@@ -102,26 +102,14 @@
 ions
-()
  %7B%0A%09
-%7D
 %0A%09
-%0A%09public 
 stat
@@ -264,23 +264,16 @@
 %09%7D%0A%09%7D%0A%0A%09
-public 
 static v

Create interfaces for Extensions with static methods by convention