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
The coloring of java enums if off when you add values. The strings in the below example will be colored as if it's code (i.e. 'Banana', 'Apple', 'Co' and 'Nut' are blue; and 'co' is white
public enum Fuit {
Banana ("Banana"),
Apple ("Apple"),
Coconut ("Co co Nut");
public final String text;
private Option(final String text) {
this.text = text;
}
}
Activity