import java.util.function.Predicate;
import javax.annotation.Nullable;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.VariableElement;
import javax.lang.model.util.ElementFilter;
<BUG>import org.revapi.Difference;
import org.revapi.java.spi.Code;</BUG>
import org.revapi.java.spi.JavaFieldElement;
import org.revapi.java.spi.JavaTypeElement;
<BUG>public class EnumConstantsOrderChanged extends BothFieldsRequiringCheck {
</BUG>
private boolean isEnumClass;

import java.util.function.Predicate;
import javax.annotation.Nullable;
import javax.lang.model.element.ElementKind;
import javax.lang.model.element.VariableElement;
import javax.lang.model.util.ElementFilter;
import org.revapi.Difference;
import org.revapi.java.spi.CheckBase;
import org.revapi.java.spi.Code;
import org.revapi.java.spi.JavaFieldElement;
import org.revapi.java.spi.JavaTypeElement;
public class EnumConstantsOrderChanged extends CheckBase {
private boolean isEnumClass;
