private boolean checkClassModifiersCompliance(){
  int reflectionModifier=mClass.getModifiers();
  int apiModifier=mModifier;
  if (((apiModifier & Modifier.ABSTRACT) == 0) && ((reflectionModifier & Modifier.ABSTRACT) != 0) && !isEnumType()) {
    return false;
  }
  reflectionModifier&=~Modifier.ABSTRACT;
  apiModifier&=~Modifier.ABSTRACT;
  if (isAnnotation()) {
    reflectionModifier&=~CLASS_MODIFIER_ANNOTATION;
  }
  if (mClass.isInterface()) {
    reflectionModifier&=~(Modifier.INTERFACE);
  }
  if (isEnumType() && mClass.isEnum()) {
    reflectionModifier&=~CLASS_MODIFIER_ENUM;
  }
  return ((reflectionModifier == apiModifier) && (isEnumType() == mClass.isEnum()));
}

private boolean checkClassModifiersCompliance ( ) { int reflectionModifier = mClass . getModifiers ( ) ; int apiModifier = mModifier ; if ( ( ( apiModifier & Modifier . ABSTRACT ) == 0 ) && ( ( reflectionModifier & Modifier . ABSTRACT ) != 0 ) && ! isEnumType ( ) ) { return false ; } reflectionModifier &= ~ Modifier . ABSTRACT ; apiModifier &= ~ Modifier . ABSTRACT ; if ( isAnnotation ( ) ) { reflectionModifier &= ~ CLASS_MODIFIER_ANNOTATION ; } if ( mClass . isInterface ( ) ) { reflectionModifier &= ~ ( Modifier . INTERFACE ) ; } if ( isEnumType ( ) && mClass . isEnum ( ) ) { reflectionModifier &= ~ CLASS_MODIFIER_ENUM ; } return ( ( reflectionModifier == apiModifier ) && ( isEnumType ( ) == mClass . isEnum ( ) ) ) ; }
checks if the class under test has compliant modifiers compared to the api .
