Gypopo / EconomyShopGUI-API

The API of EconomyShopGUI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fake implementation confuses development tools (IntelliJ)

SpraxDev opened this issue · comments

Hi, I'm adding support for your plugin to another one right now and saw that the JetBrains IntelliJ IDE automatically sees that your API method always returns null.
grafik

It achieves this by automatically generating an @Contract annotation for that (_ stands for any value. so no matter what you put in as first or second argument, it will always return null).
grafik

Would be nice if this could be improved.

Just ignore the messages for now, the actual API won't return null.