public EnumSet<Type> getInterest() {
return EnumSet.of(Type.FIELD);
}
@Override
protected void doVisitField(JavaFieldElement oldField, JavaFieldElement newField) {
<BUG>if (!shouldCheck(oldField, newField)) {
</BUG>
return;
}
Object oldC = oldField.getDeclaringElement().getConstantValue();

public EnumSet<Type> getInterest() {
return EnumSet.of(Type.FIELD);
}
@Override
protected void doVisitField(JavaFieldElement oldField, JavaFieldElement newField) {
if (!isBothAccessible(oldField, newField)) {
return;
}
Object oldC = oldField.getDeclaringElement().getConstantValue();
