class SliceReferenceFieldProcessor implements FieldProcessor {

	@Override
	public boolean accepts(final Resource resource, final Field field) {
		Class<?> type = field.getType();
		// additional checks of type for performance sake
		return type != String.class && !type.isPrimitive() && field.isAnnotationPresent(SliceReference.class);
	}

}