code: public Collection<LocalSecondaryIndex> localSecondaryIndexes() {
          if (localSecondaryIndexes.isEmpty()) {
              return null;
          }
          final Collection<LocalSecondaryIndex> copies = new ArrayList<LocalSecondaryIndex>(localSecondaryIndexes.size());
          for (final String indexName : localSecondaryIndexes.keySet()) {
              copies.add(localSecondaryIndex(indexName));
          }
          return copies;
      }
docs: Gets the local secondary indexes for the given class.
  @param indexNames The index names.
  @return The map of index name to LocalSecondaryIndexes.