Eclipse provides a feature to open the declarations of fields, invoked methods etc.
(F3 or Right click => Open declaration or Ctrl + click on the invoked method)
However, in the case of enum methods this feature doesn't function, e.g.
MyEnum.values();
is called somewhere in my code and trying to open the declaration of values()
with the combinations denoted above doesn't work obviously.
Why doesn't Eclipse open the declaration of such enum methods?