boolean (Exprent exprent) { if (!(exprent instanceof ArrayExprent)) return false; Exprent field = ((ArrayExprent)exprent).getArray(); Exprent index = ((ArrayExprent)exprent).getIndex(); boolean isJavacEnumArray = field instanceof FieldExprent && (((FieldExprent)field).getName().startsWith("$SwitchMap") || (index instanceof InvocationExprent && ((InvocationExprent)index).getName().equals("ordinal"))); boolean isEclipseEnumArray = field instanceof InvocationExprent && ((InvocationExprent)field).getName().startsWith("$SWITCH_TABLE"); return isJavacEnumArray || isEclipseEnumArray; }