Syntax error: insert “enum Identifier”, insert “EnumBody”, inset “}”
问题 I coded an enum type which brings up the following Syntax errors when I run my created JUnit test for it: java.lang.Error: Unresolved compilation problems: Syntax error, insert "enum Identifier" to complete EnumHeaderName Syntax error, insert "EnumBody" to complete EnumDeclaration Syntax error, insert "}" to complete ClassBody My enum type has static functions which for a particular String, returns an enum constant. Here is some of my code of the enum type: public enum MusicType { ACCIDENTAL,