final boolean isValue = specification != null && specification.containsFacet(ValueFacet.class);
if (content.isObject() && !isValue && content.getAdapter() == null) {
return getEmptyFieldSpecification();
} else {
if (specification != null) {
final Options viewOptions = Properties.getDefaultViewOptions(specification);
String spec = viewOptions.getString("spec");
if (spec == null) {
if (content instanceof ObjectContent && requirement.isObject() && requirement.isClosed()) {
spec = Properties.getDefaultIconViewOptions();
} else if (content instanceof CollectionContent && requirement.isCollection()) {
spec = Properties.getDefaultCollectionViewOptions();