}
}
private void processCollectionType(final ProcessClassContext processClassContext) {
final FacetHolder facetHolder = processClassContext.getFacetHolder();
final TypeOfFacet typeOfFacet = facetHolder.getFacet(TypeOfFacet.class);
if (typeOfFacet == null) {
final Class<?> collectionElementType = collectionElementType(processClassContext.getCls());
facetHolder.addFacet(collectionElementType != Object.class ? new TypeOfFacetInferredFromGenerics(collectionElementType, facetHolder, getSpecificationLoader()) : new TypeOfFacetDefaultToObject(facetHolder, getSpecificationLoader()));
} else {
// nothing
}
facetHolder.addFacet(new JavaCollectionFacet(facetHolder, getAdapterManager()));
return;
}