interface SAM { String <caret>foo(); } class JTest { static void samTest(SAM sam) { } }