The first commit adds hints that IDEs such as IDEA can read to determine autocompletion and type compatibility.
The second commit changes the CurseRelation functions to concrete members so that the IDE can see that they exist. I did this as a separate commit in case you really don't want it :)
Before/After:
(for the unfamiliar: grey & underlined = IDE can't resolve it, same for the white ones that are purple on the After)
The first commit adds hints that IDEs such as IDEA can read to determine autocompletion and type compatibility.
The second commit changes the
CurseRelation
functions to concrete members so that the IDE can see that they exist. I did this as a separate commit in case you really don't want it :)Before/After: (for the unfamiliar: grey & underlined = IDE can't resolve it, same for the white ones that are purple on the After)