The # style works for me:
{@link Planet#EARTH}
The key is that the Planet package must be imported, or Planet must be fully qualified – i.e.:
{@link com.yourpackage.Planet#EARTH}
The # style works for me:
{@link Planet#EARTH}
The key is that the Planet package must be imported, or Planet must be fully qualified – i.e.:
{@link com.yourpackage.Planet#EARTH}