KotlinUtil { static boolean isKotlinMethod(Method method) { return METADATA_CLASS != null && method.getDeclaringClass().getAnnotation(METADATA_CLASS) != null; } private  KotlinUtil();   }
@Test void isKotlinMethod() throws NoSuchMethodException { final Method testMethod = DummyService.class.getDeclaredMethod("testMethod"); assertThat(KotlinUtil.isKotlinMethod(testMethod)).isFalse(); }