src/main/java/com/googlecode/objectify/Key.java
private static String getKindRecursive(final Class<?> clazz) {
		if (clazz == Object.class)
			return null;

		final String kind = getKindHere(clazz);
		if (kind != null)
			return kind;
		else
			return getKindRecursive(clazz.getSuperclass());
	}
private static String getKindRecursive(final Class<?> clazz) {
		if (clazz == Object.class)
			return null;

		final String kind = getKindHere(clazz);
		if (kind != null)
			return kind;
		else
			return getKindRecursive(clazz.getSuperclass());
	}
<p>Recursively looks for the @Entity annotation.</p>

@return null if kind cannot be found