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

redirect all methods that can be used to set/access modifiers #5

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

TwilightFlower
Copy link
Contributor

Java's reflection set/get methods obey the same implicit coercion rules used by native types and their boxed equivalents. This means that many methods other than setInt can be used to set the modifiers field, and the same applies to getting it, requiring those to be redirected as well.

@eigenraven eigenraven merged commit 1a3f776 into GTNewHorizons:master Jun 13, 2024
1 check passed
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.

2 participants