public static boolean warnAssignmentSideEffects(AbstractGroup[] groups, BibtexEntry[] entries,
BibtexDatabase db, Component parent) {
Vector<String> affectedFields = new Vector<String>();
for (int k = 0; k < groups.length; ++k) {
if (groups[k] instanceof KeywordGroup) {
KeywordGroup kg = (KeywordGroup) groups[k];
String field = kg.getSearchField().toLowerCase();
if (field.equals("keywords"))
continue; // this is not undesired
for (int i = 0, len = BibtexFields.numberOfPublicFields(); i < len; ++i) {
if (field.equals(BibtexFields.getFieldName(i))) {
affectedFields.add(field);