src/main/java/com/googlecode/objectify/Key.java
private static String getKindHere(final Class<?> clazz) {
		// @Entity is inherited so we have to be explicit about the declared annotations
		final Entity ourAnn = TypeUtils.getDeclaredAnnotation(clazz, Entity.class);
		if (ourAnn != null)
			if (ourAnn.name().length() != 0)
				return ourAnn.name();
			else
				return clazz.getSimpleName();

		return null;
	}
private static String getKindHere(final Class<?> clazz) {
		// @Entity is inherited so we have to be explicit about the declared annotations
		final Entity ourAnn = TypeUtils.getDeclaredAnnotation(clazz, Entity.class);
		if (ourAnn != null)
			if (ourAnn.name().length() != 0)
				return ourAnn.name();
			else
				return clazz.getSimpleName();

		return null;
	}
private static String getKindHere ( final Class < ? > clazz ) { // @Entity is inherited so we have to be explicit about the declared annotations
 final Entity ourAnn = TypeUtils . getDeclaredAnnotation ( clazz , Entity . class ) ; if ( ourAnn != null ) if ( ourAnn . name ( ) . length ( ) != 0 ) return ourAnn . name ( ) ; else return clazz . getSimpleName ( ) ; return null ; }
Get the kind from the class if the class has an @Entity annotation, otherwise return null.
Get the kind from the class if the class has an