public EnumSet<Type> getInterest() {
return EnumSet.of(Type.FIELD);
}
@Override
protected void doVisitField(JavaFieldElement oldField, JavaFieldElement newField) {
<BUG>if (oldField == null || newField == null) {
return;</BUG>
}
if (!SERIAL_VERSION_UID_FIELD_NAME.equals(oldField.getDeclaringElement().getSimpleName().toString())) {
return;

public EnumSet<Type> getInterest() {
return EnumSet.of(Type.FIELD);
}
@Override
protected void doVisitField(JavaFieldElement oldField, JavaFieldElement newField) {
if (oldField == null || newField == null || !isAccessible(newField.getParent())) {
return;
}
if (!SERIAL_VERSION_UID_FIELD_NAME.equals(oldField.getDeclaringElement().getSimpleName().toString())) {
return;
