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

GROOVY-9170: exclude non-interface methods from methods map #953

Merged
merged 1 commit into from Jun 29, 2019

Conversation

eric-milles
Copy link
Member

ClassNodeUtils.addDeclaredMethodsFromInterfaces and getDeclaredMethodsFromInterfaces are returning methods from java.lang.Object. One reason is traits. You could investigate this further, but the filter conditions added to these methods prevent ever returning non-interface declared methods.

@daniellansun daniellansun merged commit 3d03e2f into apache:master Jun 29, 2019
@daniellansun
Copy link
Contributor

Merged. Thanks!

@eric-milles eric-milles deleted the GROOVY-9170 branch July 1, 2019 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants