public boolean hasAnyMethodHandlerAnnotation() {
        return !operationsWithHandlerAnnotation.isEmpty();
    }
@Test
    public void testHandlerInFunctionalInterfaceWithMethodReference() {
        MyClass myClass = new MyClass();
        MyHandlerInterface mhi = (MyHandlerInterface) myClass::myOtherMethod;
        BeanInfo info = new BeanInfo(context, mhi.getClass());
        assertTrue(info.hasAnyMethodHandlerAnnotation());
    }