You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,10 +120,11 @@ ExtremeSeasons.getEnumOrRaise("Fruehling"); // throws an IllegalArgu
120
120
When you do a reverse mapping the mapped values should of course be unique.
121
121
122
122
### Alternatives
123
-
This section mentions some alternative approaches that you can use instead of this annotation processor.
123
+
This section mentions some alternative approaches that you can use instead of this annotation processor.
124
+
See also: [Stackoverflow: How to ensure completeness in an enum switch at compile time?](https://stackoverflow.com/questions/16797529/how-to-ensure-completeness-in-an-enum-switch-at-compile-time)
124
125
125
126
#### Abstract Enum Methods
126
-
As mentioned in this [Stackoverflow answer to: Force exhaustive switch](http://stackoverflow.com/a/27184080/6287240)
127
+
As mentioned in this [Stackoverflow answer](https://stackoverflow.com/a/16798500/6287240)
127
128
you can have abstract methods on your enum definition.
0 commit comments