Merge remote-tracking branch 'origin/GP-1-dragonmacher-search-enum-field-fix'

This commit is contained in:
Ryan Kurtz 2024-10-08 06:30:34 -04:00
commit 4b14601927

View File

@ -1097,6 +1097,9 @@ public final class ReferenceUtils {
Enum enumm = (Enum) dt;
List<String> names = getEnumNames(data, enumm);
for (String name : names) {
if (!enumm.contains(name)) {
continue;
}
long value = enumm.getValue(name);
if (matcher.matches(name, (int) value)) {
return true;