MCPcopy Create free account
hub / github.com/apache/solr / handleExp

Method handleExp

solr/solrj/src/java/org/apache/solr/common/util/Utils.java:771–778  ·  view source on GitHub ↗
(Logger logger, T def, Callable<T> c)

Source from the content-addressed store, hash-verified

769 * insertion/writing
770 * @param o the object to be converted
771 */
772 public static void reflectWrite(MapWriter.EntryWriter ew, Object o) {
773 reflectWrite(
774 ew,
775 o,
776 field -> field.getAnnotation(JsonProperty.class) != null,
777 null, // No catch-all/unknown-field support for objects annotated with our mimic
778 // annotations.
779 field -> {
780 final JsonProperty prop = field.getAnnotation(JsonProperty.class);
781 return prop.value().isEmpty() ? field.getName() : prop.value();

Callers

nothing calls this directly

Calls 3

callMethod · 0.65
errorMethod · 0.45
getMessageMethod · 0.45

Tested by

no test coverage detected