docs: private static IAccessRule[] getAccessRules(IPath[] accessibleFiles, IPath[] nonAccessibleFiles) {
          final int accessibleFilesLength = accessibleFiles == null ? 0 : accessibleFiles.length;
          final int nonAccessibleFilesLength = nonAccessibleFiles == null ? 0 : nonAccessibleFiles.length;
          final int length = accessibleFilesLength + nonAccessibleFilesLength;
          if (length == 0) {
              return null;
          }
          final IAccessRule[] accessRules = new IAccessRule[length];
          if (accessibleFiles != null) {
  	        for (int i = 0; i < accessibleFilesLength; i++) {
  	            accessRules[i] = JavaCore.newAccessRule(accessibleFiles[i], IAccessRule.K_ACCESSIBLE);
  	        }
          }
          if (nonAccessibleFiles != null) {
  	        for (int i = 0; i < nonAccessibleFilesLength; i++) {
  	            accessRules[accessibleFilesLength + i] = JavaCore.newAccessRule(nonAccessibleFiles[i], IAccessRule.K_NON_ACCESSIBLE);
  	        }
          }
          return accessRules;
      }