public EnumSet<Type> getInterest() {
return EnumSet.of(Type.METHOD);
}
@Override
protected void doVisitMethod(@Nullable JavaMethodElement oldMethod, @Nullable JavaMethodElement newMethod) {
<BUG>if (oldMethod == null || newMethod == null) {
return;
}
boolean onInterfaces = oldMethod.getParent().getDeclaringElement().getKind() == ElementKind.INTERFACE</BUG>
&& newMethod.getParent().getDeclaringElement().getKind() == ElementKind.INTERFACE;

public EnumSet<Type> getInterest() {
return EnumSet.of(Type.METHOD);
}
@Override
protected void doVisitMethod(@Nullable JavaMethodElement oldMethod, @Nullable JavaMethodElement newMethod) {
if (!isBothAccessible(oldMethod, newMethod)) {
return;
}
assert oldMethod != null;
assert newMethod != null;
boolean onInterfaces = oldMethod.getParent().getDeclaringElement().getKind() == ElementKind.INTERFACE
&& newMethod.getParent().getDeclaringElement().getKind() == ElementKind.INTERFACE;
