Fixed bug seen when searching for uses of an enum field

This commit is contained in:
dragonmacher 2024-10-07 15:10:18 -04:00
parent 6805c6bc20
commit 1e0db13430

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;