Compile with -parameters flag for reflection
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 928
- Forks
- 227
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to do some reflection based codegen from your op creation methods (the stuff in Ops), specifically for more idiomatic kotlin methods (default args instead of Options). However, since parameter names aren't present for reflection, making these match is currently quite a pain (I'm pulling and parsing the api_def protos).
I doubt I'm only person who will be doing codgen, this would be very helpful for anyone who tries to.
Afaik it's extremely easy to enable in maven, I'd make a PR but I don't want to touch build logic.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Maven build configuration and the compilation settings for the Java code in Ops. Confirm how reflection currently exposes method parameters and how the api_def protos are used for code generation. Done means the project compiles with the -parameters flag so parameter names are available to reflection-based generators.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100