code: private static boolean sameAccess(int parentAccess, int childAccess) {
          return ((parentAccess & (Const.ACC_PUBLIC | Const.ACC_PROTECTED)) == (childAccess & (Const.ACC_PUBLIC | Const.ACC_PROTECTED)));
      }
docs: determines if two access flags contain the same access modifiers
  
  @param parentAccess
  the access flags of the parent method
  @param childAccess
  the access flats of the child method
  @return whether the access modifiers are the same