Trigary / Iodine

A Minecraft mod - server plugin pair that adds custom GUIs and overlays. No more inventory and chat menus!
GNU General Public License v3.0
24 stars 0 forks source link

Add Contract("_ -> this") to all relevant methods #16

Open Trigary opened 4 years ago

Trigary commented 4 years ago

This annotation should also be used for this purpose. Since this project contains a lot a chainable methods, this is no small task, but that is fine.

Trigary commented 4 years ago

Constructors should also be annotated, usually using the @Contract(pure = true) annotation.