[AA LC] Fix annotations on fields for enum entries

This commit is contained in:
Dmitriy Novozhilov
2022-08-03 16:06:35 +03:00
parent a88fdd5eb7
commit 8e80c5830e
4 changed files with 32 additions and 15 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
public abstract @interface Some /* Some*/ {
}
public enum Direction /* Direction*/ {
NORTH,
@Some() NORTH,
SOUTH,
WEST,
EAST;