Copy values from itself to a <code>UserAgentInfo.Builder</code>.
769438
public void copyTo(@Nonnull final UserAgent.Builder builder) {
		builder.setFamily(family);
		builder.setIcon(icon);
		builder.setName(familyName);
		builder.setProducer(producer);
		builder.setProducerUrl(producerUrl);
		builder.setTypeName(type.getName());
		builder.setUrl(url);
		if (operatingSystem != null) {
			operatingSystem.copyTo(builder);
		}
	}
364477
private T copyProperties(T source) {
        T target = createEmpty(source.getClass());

        Map<String, PropertyDescriptor> mapTargetProps = MappingUtils.mapPropertyDescriptors(target.getClass());
        Map<String, PropertyDescriptor> mapSourceProps = MappingUtils.mapPropertyDescriptors(source.getClass());

        Object value = null;

        for (String propertyName : mapSourceProps.keySet()) {
            value = MappingUtils.callGetter(source, mapSourceProps.get(propertyName));

            MappingUtils.callSetter(target, mapTargetProps.get(propertyName), value);
        }

        return target;
    }
467764
private synchronized Collection<IInputValue> annotatedValuesToInputValues(Collection<IAnnotatedValue> values) throws ModelException
    {
        restartInputsMap();
        Collection<IInputValue> inputValues = new HashSet<IInputValue>();
        for (IAnnotatedValue annotatedValue : values)
        {
            IInput input = input(annotatedValue);
            if (null == input)
            {
                throw new ServiceExecutionException("Cannot find a suitable input for value: " + annotatedValue, null);
            }
            inputValues.add(addInputValue(input, annotatedValue));
        }
        return inputValues;
    }
570036
public AnnotationValueBuilder<T> member(String name, @Nullable AnnotationValue<?> annotation) {
        if (annotation != null) {
            values.put(name, annotation);
        }
        return this;
    }
265165
private void addPropertyData(
      Property.Builder propertyBuilder,
      TypeElement valueType,
      ExecutableElement method,
      Optional<JacksonSupport> jacksonSupport) {
    TypeMirror propertyType = getReturnType(valueType, method, types);
    propertyBuilder
        .setAllCapsName(camelCaseToAllCaps(propertyBuilder.getName()))
        .setType(propertyType)
        .setFullyCheckedCast(CAST_IS_FULLY_CHECKED.visit(propertyType));
    if (jacksonSupport.isPresent()) {
      jacksonSupport.get().addJacksonAnnotations(propertyBuilder, method);
    }
    if (propertyType.getKind().isPrimitive()) {
      PrimitiveType unboxedType = types.getPrimitiveType(propertyType.getKind());
      TypeMirror boxedType = types.erasure(types.boxedClass(unboxedType).asType());
      propertyBuilder.setBoxedType(boxedType);
    }
  }
1065783
private void copyType(UserAgentInfo retObj, Long idBrowser) {
        try {
            lock.lock();

            BrowserEntry be = browserMap.get(idBrowser);
            if (be != null) {
                Long type = be.getType();
                if (type != null) {
                    String typeString = browserTypeMap.get(type);
                    if (typeString != null) {
                        retObj.setTyp(typeString);
                    }
                }
            }
        } finally {
            lock.unlock();
        }
    }
765984
public static void serializeUserProperties( BackendlessUser user )
  {
    Map<String, Object> serializedProperties = user.getProperties();

    Set<Map.Entry<String, Object>> properties = serializedProperties.entrySet();
    for( Map.Entry<String, Object> property : properties )
    {
      Object propertyValue = property.getValue();
      if( propertyValue != null && !propertyValue.getClass().isArray() && !propertyValue.getClass().isEnum() && !isBelongsJdk( propertyValue.getClass() ) )
      {
        property.setValue( serializeToMap( propertyValue ) );
      }
    }

    user.setProperties( serializedProperties );
  }
957808
public static ByteBuf copyMedium(int... values) {
        if (values == null || values.length == 0) {
            return EMPTY_BUFFER;
        }
        ByteBuf buffer = buffer(values.length * 3);
        for (int v: values) {
            buffer.writeMedium(v);
        }
        return buffer;
    }
1129151
public <P>JsonModelBuilder<T> rm(JsonPropertyBuilderCreator<T> creator1,
			JsonPropertyBuilderCreator<T> creator2, JsonPropertyBuilderCreator<T> creator3,
			JsonPropertyBuilderCreator<T> creator4, JsonPropertyBuilderCreator<T> creator5,
			JsonPropertyBuilderCreator<T> creator6, JsonPropertyBuilderCreator<T> creator7,
			JsonPropertyBuilderCreator<T> creator8) {
		rmSub(creator1.<P> get());
		rmSub(creator2.<P> get());
		rmSub(creator3.<P> get());
		rmSub(creator4.<P> get());
		rmSub(creator5.<P> get());
		rmSub(creator6.<P> get());
		rmSub(creator7.<P> get());
		rmSub(creator8.<P> get());
		return this;
	}
245601
public void copyProviderDataToBuilder(TemplateBuilder builder,
										  TemplateBuilderDataProvider templateBuilderDataProvider) {
		PageSize size = templateBuilderDataProvider.getPageSize();
		if (templateBuilderDataProvider.isLandscape()) {
			builder.setPageHeight(size.getWidth());
			builder.setPageWidth(size.getHeight());
		} else {
			builder.setPageHeight(size.getHeight());
			builder.setPageWidth(size.getWidth());
		}
		builder.setTitleText(templateBuilderDataProvider.getTitle());
		builder.setWithArrow(templateBuilderDataProvider.isWithArrow());
		builder.setWithScaleBar(templateBuilderDataProvider.isWithScaleBar());
		builder.setRasterDpi(templateBuilderDataProvider.getRasterDpi());
		builder.setDpi(templateBuilderDataProvider.getDpi());
	}
1143012
function copyDeep(source) {
    for (var
      key, descriptor, value,
      target = create(gPO(source)),
      names = oK(source),
      i = 0; i < names.length; i++
    ) {
      key = names[i];
      descriptor = gOPD(source, key);
      if (hOP.call(descriptor, VALUE)) {
        copyValueIfObject(descriptor, copyDeep);
      }
      defineProperty(target, key, descriptor);
    }
    return target;
  }
609871
public static void cloneInternal ( Kerb5Authenticator to, Kerb5Authenticator from ) {
        NtlmPasswordAuthenticator.cloneInternal(to, from);
        to.setUser(from.getUser());
        to.setRealm(from.getRealm());
        to.setService(from.getService());
        to.setLifeTime(from.getLifeTime());
        to.setUserLifeTime(from.getUserLifeTime());

        to.canFallback = from.canFallback;
        to.forceFallback = from.forceFallback;
    }
1036670
public UserManagedCacheBuilder<K, V, T> withValueSerializer(Serializer<V> valueSerializer) {
    if (valueSerializer == null) {
      throw new NullPointerException("Null value serializer");
    }
    UserManagedCacheBuilder<K, V, T> otherBuilder = new UserManagedCacheBuilder<>(this);
    otherBuilder.valueSerializer = valueSerializer;
    return otherBuilder;
  }
780428
public void copyFromPropertyDescriptor(EntityField other) {
        this.setter = other.setter;
        this.getter = other.getter;
        this.javaType = other.javaType;
        this.name = other.name;
    }
986287
public ContentAssistContext.Builder copy() {
		Builder result = builderProvider.get();
		result.copyFrom(this);
		return result;
	}
859625
public static org.inferred.freebuilder.processor.property.Property.Builder from(
      org.inferred.freebuilder.processor.property.Property value) {
    if (value instanceof Rebuildable) {
      return ((Rebuildable) value).toBuilder();
    } else {
      return new org.inferred.freebuilder.processor.property.Property.Builder().mergeFrom(value);
    }
  }
1186601
public org.inferred.freebuilder.processor.property.Property.Builder setGetterName(
      String getterName) {
    this.getterName = Objects.requireNonNull(getterName);
    _unsetProperties.remove(Property.GETTER_NAME);
    return (org.inferred.freebuilder.processor.property.Property.Builder) this;
  }