@Test
    void isKFunction() throws NoSuchMethodException {
        final Method testMethod = DummyService.class.getDeclaredMethod("testMethod");
        assertThat(KotlinUtil.isKFunction(testMethod)).isFalse();
    }
Without kotlin dependencies, all functions return false or null safely.
core/src/test/java/com/linecorp/armeria/internal/server/annotation/KotlinUtilTest.java