Returns whether this ClassNode represents an enumeration type. An enum class has the ACC_ENUM modifier flag set in its modifiers. Enumerations define a fixed set of named constants that can be iterated over at compile time. @return true if this class is an enumeration; {@cod
()
| 1894 | * @see #setModifiers(int) |
| 1895 | */ |
| 1896 | public boolean isEnum() { |
| 1897 | return (getModifiers() & ACC_ENUM) != 0; |
| 1898 | } |
| 1899 | |
| 1900 | /** |
| 1901 | * Checks if the {@link ClassNode} instance represents a native {@code record}. |
no test coverage detected