directrl / monospace

general LWJGL 3D game engine with a focus on voxels
MIT License
0 stars 0 forks source link

Lombok accessors cannot be statically imported #6

Closed directrl closed 1 month ago

directrl commented 1 month ago

This means that you can't do e.g.

import static org.black_matter.monospace.core.Monospace.*;

[...]

keyBindings().registerKeybinding...

and instead have to always use the fully-qualified name.

We probably should not use lombok getters inside core/Monospace

directrl commented 1 month ago

turns out that you can directly reference (static import) getters from a class that inherits Monospace, so perhaps this is fine