void (final boolean value, final Facet<?> facet, final String parameter) { if (!value) { LOG.error("Facet type " + facet.getType().getClass().getName() + " violates the contract of FacetType.createFacet method about '" + parameter + "' parameter"); } }