@Nullable private static String getTypeName(ValueDescriptorImpl descriptor) { Type type = descriptor.getType(); return type != null ? type.name() : null; }