code: public static boolean isEligibleType(Class<?> type) {
  		return type.isAnnotationPresent(Type.class) &&
  				!ReflectionUtils.getAnnotatedFields(type, Id.class, true).isEmpty();
  	}
docs: Checks if class is eligible as resource type (must have {@link Type} annotation and field annotated with
  {@link Id}.
  @param type type to test
  @return <code>true</code> if type is eligible