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

getMethod(String, CtTypeReference...) doesn't work with generics #573

Closed
GerardPaligot opened this issue Apr 5, 2016 · 1 comment
Closed

Comments

@GerardPaligot
Copy link
Contributor

With this snippet:

public <T> void method1(T t) {
}

public <T extends String> void method1(T t) {
}

If I call getMethod("method1", int.class) on a CtType, it returns the wrong method.

@GerardPaligot
Copy link
Contributor Author

Make this one first: #597

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