public final List<AccessibilityViewCheckResult> checkAndReturnResults(View view){
  if (view != null) {
    View viewToCheck=runChecksFromRootView ? view.getRootView() : view;
    return runAccessibilityChecks(viewToCheck);
  }
  return Collections.<AccessibilityViewCheckResult>emptyList();
}

public final List < AccessibilityViewCheckResult > checkAndReturnResults ( View view ) { if ( view != null ) { View viewToCheck = runChecksFromRootView ? view . getRootView ( ) : view ; return runAccessibilityChecks ( viewToCheck ) ; } return Collections . < AccessibilityViewCheckResult > emptyList ( ) ; }
runs accessibility checks and returns the list of results .
