public static List<String> getKinds() throws IllegalStateException {
if (AppEngineUtil.isProduction()) {
throw new IllegalStateException("This method does not work on production server.");
}
Schema schema = getSchema();
List<EntityProto> entityProtoList = schema.kinds();
List<String> kindList = new ArrayList<String>(entityProtoList.size());
for (EntityProto entityProto : entityProtoList) {
kindList.add(getKind(entityProto.getKey()));
}
return kindList;