Skip to content

EventHandler 实现类要触发 handleEvent 方法,只能直接实现接口,中间不能有抽象类。 #941

@cxntsh

Description

@cxntsh

Feature description

lQLPKH6kELeqNpXNAibNA2KwrEA_ead3i24GTnJi2fFYAA_866_550

可以看到判断逻辑,是直接通过反射判断是否是接口的实现类,这个可以优化一下,毕竟很多通用的逻辑还是要放到抽象类去实现的。

Additional notes

Add other notes if necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions