String generateIndexAnnotations() {
		if (indexes == null || indexes.size() == 0) {
			// no matching indexes
			return null;
		}
		AnnotationBuilder ap = new AnnotationBuilder();
		if (indexes.size() == 1) {
			// single index
			IndexInspector index = indexes.values().toArray(new IndexInspector[1])[0];
			ap.append(generateIndexAnnotation(index));
			ap.append(eol);
		} else {
			// multiple indexes
			ap.append('@').append(IQIndexes.class.getSimpleName());
			ap.append("({");
			ap.resetCount();
			for (IndexInspector index : indexes.values()) {
				ap.appendExceptFirst(", ");
				ap.append(generateIndexAnnotation(index));
			}
			ap.append("})").append(eol);
		}
		return ap.toString();
	}