Skip to content

[Request] Method Handle / Var Handle overview #3

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

Open
carimura opened this issue Apr 14, 2023 · 7 comments
Open

[Request] Method Handle / Var Handle overview #3

carimura opened this issue Apr 14, 2023 · 7 comments

Comments

@carimura
Copy link
Member

No description provided.

@carimura carimura added the request Content Request label Apr 14, 2023
@carimura carimura changed the title [Content Request] Method Handle / Var Handle overview [Request] Method Handle / Var Handle overview Apr 14, 2023
@ammbra
Copy link
Collaborator

ammbra commented Feb 12, 2024

Hello,

@smthelusive would like to write an article on this subject. Natalia, if possible, can you please share an outline on what you plan to write?

Thank you

@smthelusive
Copy link
Contributor

smthelusive commented Feb 16, 2024

Hi Ana Maria,

I think it would be good to split it into two parts: one for Method Handles, and a separate one devoted to Var Handles.

For the Method Handles, I suggest this title: Introduction to Method Handles

Suggested outline:

  • What are Method Handles
  • Access checking
  • Method Handle lookup & invocation (might split it further into lookup and invocation subparts)
  • Accessing fields
  • Working with arrays
  • Method Handles vs Reflection
  • Conversion between Reflection API and Method Handles
  • Handling exceptions
  • Method Handle transformations

Please let me know if I can proceed with this or if there are any suggestions. Thanks!

@ammbra
Copy link
Collaborator

ammbra commented Feb 16, 2024

Hi Natalia,

Sounds like a very good idea. And great outline :).

@carimura carimura added approved and removed request Content Request labels Feb 16, 2024
@carimura
Copy link
Member Author

Great!

@carimura
Copy link
Member Author

Hi @smthelusive was this ever worked on? Just going through open issues.

@smthelusive
Copy link
Contributor

Hi @carimura, this is in progress. I'm intending to create a PR in the coming days.

@smthelusive
Copy link
Contributor

The PR is ready for review 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants