If an enum
implements an interface
, and methods from the interface
are called on an instance of the enum
, the enum
instance needs to be referenced as the interface
, or the interface
is somehow referenced in the context where the methods are called; Otherwise, there is possible compilation failure in a Maven build complaining about "cannot find symbol" on the interface
methods being called.