-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add typeof #20027
Comments
This comment was originally written by @zoechi Can you please explain a bit more what you would like to accomplish? Something like: ? |
This comment was originally written by [email protected] Yes so public void loadSomething(Type type); so you would set the type parameter like this: as you cant do |
This comment was originally written by @zoechi and what should loadSomething(List<String>) actually do? |
This comment was originally written by [email protected] i should just pass the type to that method like the following does. loadSomething(List); |
This comment was originally written by @zoechi ... and then? What should then happen? |
This comment was originally written by @mezoni Known workaround. +++ class TypeOf<T> { |
This comment was originally written by [email protected] Yes I am currently using this work around but can typeof() be implemented? |
Removed Type-Defect label. |
This issue was originally filed by [email protected]
Is it possible to add typeof so that you can pass a generic type into a type argument?
The text was updated successfully, but these errors were encountered: