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

PropertyInfo.getGetterMethod returns some static methods #150

Closed
chengenzhao opened this issue Jan 11, 2018 · 1 comment
Closed

PropertyInfo.getGetterMethod returns some static methods #150

chengenzhao opened this issue Jan 11, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@chengenzhao
Copy link
Contributor

Hi:

JdkSSLEngineOptions.isAlpnAvailable
OpenSSLEngineOptions.isAlpnAvailable
OpenSSLEngineOptions.isAvailable
These three getter methods are static method
and in PropertyInfo we couldn't separate non-static and static method
getGetterMethod only return a string with its name
so is it possible to add a wrapper of these 3 methods?
or add another getStaticGetterMethod to PropertyInfo?

For Clojure, auto generated method need to know whether it is static or non-static
There are several ways to walk around with these issue
for now we manually change the generated api
or using reflection maybe to check whether the method is static
or adding exceptional codes into our templ...
but the most elegant way is to add 1 separate method to PropertyInfo

Hope it helps

@vietj
Copy link
Member

vietj commented Jan 11, 2018

thanks for reporting

@vietj vietj added this to the 3.5.1 milestone Jan 11, 2018
@vietj vietj added the bug label Jan 11, 2018
@vietj vietj self-assigned this Jan 16, 2018
@vietj vietj closed this as completed in 4cd1dc0 Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants