// Test case for Issue 1379. // https://github.com/typetools/checker-framework/issues/1379 interface Box1379 {} interface Trans1379 { Box1379 apply(I in); } @SuppressWarnings("") // just check for crashes abstract class Issue1379 { abstract Box1379 app(Box1379 in, Trans1379 t); abstract Trans1379 pass(Trans1379 t); abstract Box1379 box(Number p); void foo(Box1379 p) { app(p, pass(this::box)); } }