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

Extracting generic return type's actual runtime type #2098

Closed
wants to merge 3 commits into from

Conversation

martingy
Copy link

With this change, extracting the actual return type of the generic super class's methods generic return type became possible.
The java version is 1.6.

@fehguy
Copy link
Contributor

fehguy commented Jan 24, 2017

@martingy thank you. What affect does bringing classmate into the picture have on backwards compatibility with Jackson?

@martingy
Copy link
Author

@fehguy no affect on that as far as I can work out. classmate is another library from fasterxml, it is independent of Jackson.

@fehguy
Copy link
Contributor

fehguy commented Jan 25, 2017

@martingy could you please rebase?

responseType = ((ResolvedArrayType) resolvedMethod.getReturnType()).getErasedType();
}

LOGGER.debug("response class of method " + method + " is " + responseType);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you useLOGGER.debug("response class of method {} is {}", method, responseType? https://www.slf4j.org/faq.html#logging_performance

@frantuma frantuma changed the base branch from master to 1.5 April 30, 2018 15:32
@frantuma frantuma closed this Jan 26, 2024
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

Successfully merging this pull request may close these issues.

4 participants