Class EnumOrdinal

java.lang.Object
com.google.errorprone.bugpatterns.BugChecker
com.google.errorprone.bugpatterns.EnumOrdinal
All Implemented Interfaces:
BugChecker.MethodInvocationTreeMatcher, Suppressible, Serializable

public final class EnumOrdinal extends BugChecker implements BugChecker.MethodInvocationTreeMatcher
Discourages the use of Enum.ordinal() and other ways to access enum values by index.
See Also: