openai-java icon indicating copy to clipboard operation
openai-java copied to clipboard

Setters/getters/constructors missing

Open codeoflife opened this issue 3 years ago • 3 comments

Found many classes in openai-java-0.12.0.zip missing setters and setters that other classes are using. Maybe a partially updated release zip?

codeoflife avatar May 17 '23 16:05 codeoflife

It's handled by the lombok code which automatically creates getters, setters, constructors, etc.
You can read about some of the useful features here: https://projectlombok.org/

cryptoapebot avatar May 17 '23 16:05 cryptoapebot

Installed the Eclipse plugin via update site https://projectlombok.org/p2, all good now.

codeoflife avatar May 17 '23 17:05 codeoflife

It's actually a really clever piece of code/annotation software. I didn't really know about it until this project though I was familiar w/ other types of Java annotations. I've converted a few of my own projects to use it since then.

cryptoapebot avatar May 17 '23 19:05 cryptoapebot