class Test { public static void main( String[] args ) throws Exception { Checker.assertThat("", Utils.is(Utils.notNullValue())); } } interface Util { } class Utils { static Util is( Util util ) { return null; } static Util is( T t ) { return null; } static Util notNullValue() { return null; } } class Checker { static void assertThat(T actual, Util util) { } }