// JAVAC_EXPECTED_FILE package test; public interface WrongNumberOfGenericParameters { interface Zero {} interface One {} Zero z(); One o0(); // Our Java resolve supposes that return type has exactly one argument One o2(); // This does not produce the expected result, because IDEA thinks Two is a raw type interface Two {} Two t1(); }