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

Fixed and clarified usage of ReflectedObject. #24

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

leeN
Copy link
Collaborator

@leeN leeN commented Feb 29, 2024

Before, calling static methods would not work properly when going the ReflectedObject route. This was due to a missing null parameter that signals a static invocation to Method.invoke(). This is now fixed and clarified via a comment.

It also adds two unit tests to use the two ways to call a function via reflection. Silences some Intellij/SpotBugs warnings.

Before calling static methods would not work properly, not it does.
@leeN leeN added bug Something isn't working enhancement New feature or request labels Feb 29, 2024
@leeN leeN requested a review from tmbrbr October 14, 2024 11:12
@leeN leeN merged commit 3b7518d into SAP:main Oct 22, 2024
13 of 14 checks passed
@leeN leeN deleted the reflected_objects branch October 22, 2024 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants