java - Referencing another class in an Enum class -


i've created enum class manage various systems in code, however, need access class in order complete code.

i've tried referencing code so:

    public newskillsmain plugin = newskillsmain.this; 

however returns error:

no enclosing instance of type newskillsmain accessible in scope

does know how reference other classes enum class? thanks!


Comments