import org.revapi.java.spi.Util;
public final class AttributeValueChanged extends CheckBase {
@Override
protected List<Difference> doVisitAnnotation(JavaAnnotationElement oldElement,
JavaAnnotationElement newElement) {
<BUG>if (oldElement == null || newElement == null) {
return null;</BUG>
}
AnnotationMirror oldAnnotation = oldElement.getAnnotation();
AnnotationMirror newAnnotation = newElement.getAnnotation();

import org.revapi.java.spi.Util;
public final class AttributeValueChanged extends CheckBase {
@Override
protected List<Difference> doVisitAnnotation(JavaAnnotationElement oldElement,
JavaAnnotationElement newElement) {
if (oldElement == null || newElement == null || !isAccessible(newElement.getParent())) {
return null;
}
AnnotationMirror oldAnnotation = oldElement.getAnnotation();
AnnotationMirror newAnnotation = newElement.getAnnotation();
