Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议增强osgl#getMethod()的实现 #200

Open
moonmanbu opened this issue Mar 26, 2019 · 0 comments
Open

建议增强osgl#getMethod()的实现 #200

moonmanbu opened this issue Mar 26, 2019 · 0 comments

Comments

@moonmanbu
Copy link

当前实现为

    public static Method getMethod(Class c, String methodName, Class... argTypes) {
        try {
            return c.getMethod(methodName, argTypes);
        } catch (NoSuchMethodException e) {
            return null;
        }
    }

直接调用的Class#getMethod()方法, 不能获取object的所有Method, 建议按照fosgl#fieldsOf()的实现方法重新实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant