-
Notifications
You must be signed in to change notification settings - Fork 323
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
.methods
on a Type are not returning the static methods of the type.
#6748
Comments
> Meta.meta Locale . methods
>>> ['display_language', 'country', 'to_display_text', 'variant', 'display_country',
'language', 'to_text', 'display_variant', 'java_locale']
> Meta.meta (Meta.type_of Locale) . methods
>>> ['display_language', 'country', 'from_language_tag', 'canada_english',
'brazil', 'japan', 'india_english', 'germany', 'poland', 'pakistan_english',
'display_country', 'language', 'pakistan_urdu', 'default', 'russia', 'uk', 'variant', 'france', 'to_text',
'from_java', 'display_variant', 'italy', 'us', 'new', 'nigeria', 'south_korea', 'indonesia', 'mexico',
'to_display_text', 'china', 'Value', 'bangladesh', 'india_hindi', 'canada_french'] isn't |
Lets add as an example to the docs. |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-06-02): Progress: - review of annotations in suggestionDB: #6924 (review)
Next Day: Imports & Runtime Type Checks |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-06-03): Progress: - Addressing comments for
Next Day: Imports & Runtime Type Checks |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-06-04): Progress: - another usecase for "snapshot taking" infra: #6775 (comment)
Next Day: Imports & Runtime Type Checks |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-06-05): Progress: - Import&Export written in Java: 06bc6b7
Next Day: Imports & Runtime Type Checks |
Fixes #6748 by documenting how to obtain all static methods available on a `Type`.
Meta.meta Locale . methods
only includes the instance methods.To access the static methods it is necessary to get the eiganType and then call
methods
. Themethods
method should allow us to get the static methods (or not) - maybeinclude_static:Boolean=False
and we can then opt in.Current workaround:
The text was updated successfully, but these errors were encountered: