public boolean hasAnyMethodHandlerAnnotation() {
        return !operationsWithHandlerAnnotation.isEmpty();
    }
@Test
    public void testHandlerInFunctionalInterfaceWithAnonymousInnerClass() {
        MyHandlerInterface mhi = new MyHandlerInterface() {
            @Override
            public String myMethod() {
                return "";
            }
        };

        BeanInfo info = new BeanInfo(context, mhi.getClass());
        assertTrue(info.hasAnyMethodHandlerAnnotation());
    }