private void checkUnpairedAccessorConsumption(MemberMatrix mm,N4ClassifierDefinition definition){
  if (!mm.hasOwned() && mm.hasInherited() && mm.hasImplemented()) {
    boolean getterConsumed=false;
    boolean setterConsumed=false;
    TMember consumedAccessor=null;
    for (    TMember implementedMember : mm.implemented()) {
      if (implementedMember.isAccessor() && mm.isConsumed(implementedMember)) {
        if (implementedMember.getMemberType() == MemberType.GETTER) {
          getterConsumed=true;
        }
 else {
          setterConsumed=true;
        }
        consumedAccessor=implementedMember;
      }
    }
    if ((getterConsumed != setterConsumed) && mm.hasAccessorPair() && null != consumedAccessor) {
      messageMissingOwnedAccessorCorrespondingConsumedAccessor((FieldAccessor)consumedAccessor,definition);
    }
  }
}

private void checkUnpairedAccessorConsumption ( MemberMatrix mm , N4ClassifierDefinition definition ) { if ( ! mm . hasOwned ( ) && mm . hasInherited ( ) && mm . hasImplemented ( ) ) { boolean getterConsumed = false ; boolean setterConsumed = false ; TMember consumedAccessor = null ; for ( TMember implementedMember : mm . implemented ( ) ) { if ( implementedMember . isAccessor ( ) && mm . isConsumed ( implementedMember ) ) { if ( implementedMember . getMemberType ( ) == MemberType . GETTER ) { getterConsumed = true ; } else { setterConsumed = true ; } consumedAccessor = implementedMember ; } } if ( ( getterConsumed != setterConsumed ) && mm . hasAccessorPair ( ) && null != consumedAccessor ) { messageMissingOwnedAccessorCorrespondingConsumedAccessor ( ( FieldAccessor ) consumedAccessor , definition ) ; } } }
checks if any accessor has been consumed for which the counterpart accessor is only inherited .
