this method verify that the istruction:
<p><code> destination.putAll(source) </code><p>is permitted

@param destination destination field
@param source source field
@return true if the istruction destination.putAll(source) is permitted
191981
public static boolean isPutAllPermitted(Field destination,Field source){
		
		boolean isFirst = true;
		boolean isAddAllFunction = false;
		boolean isPutAllFunction = true;
		return isAssignableFrom(getGenericString(destination), getGenericString(source), destination.getType(), source.getType(), isFirst, isAddAllFunction, isPutAllFunction);
		
	}
132426
public boolean isDistributable() {
        final Collection<ComponentBuilder> componentBuilders = getComponentBuilders();
        for (final ComponentBuilder componentBuilder : componentBuilders) {
            if (!componentBuilder.isDistributable()) {
                return false;
            }
        }

        final List<AnalysisJobBuilder> childJobBuilders = getConsumedOutputDataStreamsJobBuilders();
        for (final AnalysisJobBuilder childJobBuilder : childJobBuilders) {
            if (!childJobBuilder.isDistributable()) {
                return false;
            }
        }

        return true;
    }
602674
function extend(destination, source) {
    for (var k in source) {
      if (source.hasOwnProperty(k)) {
        destination[k] = source[k];
      }
    }
    return destination;
  }
1213785
public static void classesNotConfigured(Class<?> destination,Class<?> source){
		throw new MappingNotFoundException(MSG.INSTANCE.message(Constants.mappingNotFoundException2,destination.getSimpleName(), source.getSimpleName()));
	}
612359
public void setDestination(String destination)
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "setDestination", destination);

    this.destination = destination;

    if (tc.isEntryEnabled())
      SibTr.exit(tc, "setDestination");
  }
1032467
private static void setPropertyFromSourceBitmap(Bitmap source, Bitmap destination) {
    // The new bitmap was created from a known bitmap source so assume that
    // they use the same density
    destination.setDensity(source.getDensity());
    if (Build.VERSION.SDK_INT >= 12) {
      destination.setHasAlpha(source.hasAlpha());
    }

    if (Build.VERSION.SDK_INT >= 19) {
      destination.setPremultiplied(source.isPremultiplied());
    }
  }
141573
@Override
  public <CS, CD> MappingContext<CS, CD> create(CS source, Type destinationType) {
    Assert.notNull(source, "source");
    Assert.notNull(destinationType, "destinationType");
    TypeToken<CD> destinationTypeToken = TypeToken.of(destinationType);

    return new MappingContextImpl<CS, CD>(this, source, Types.<CS>deProxy(source.getClass()), null,
        destinationTypeToken.getRawType(), destinationTypeToken.getType(), mapping, false);
  }
407866
public boolean convert(File source, File destination) {
        boolean result = true;
        if (source.isDirectory()) {
            if (source.getName().startsWith(".")) {
                // skip "hidden" directories
                return result;
            }
            if (destination.exists()) {
                result = result && destination.isDirectory();
            } else {
                result = result && destination.mkdirs();
            }
            File[] children = source.listFiles();
            for (File element : children) {
                String inName = element.getName();
                String outName;
                if (element.isDirectory()) {
                    outName = inName;
                } else {
                    outName = inName.substring(0, inName.lastIndexOf('.') + 1)
                            + m_outExt;
                }
                result = result && convert(new File(source, inName),
                                           new File(destination, outName));
            }
            return result;
        } else {
            try {
                if (!source.getName().endsWith("." + m_inExt)) {
                    return result;
                }
                InputStream in = new FileInputStream(source);
                if (!destination.getParentFile().exists()) {
                    destination.getParentFile().mkdirs();
                }
                OutputStream out = new FileOutputStream(destination);
                result = result && convert(in, out);
                out.close();
                in.close();
                return result;
            } catch (IOException e) {
                return false;
            }
        }
    }
139714
public void putAll (IntMap<V> t)
    {
        // if we can, avoid creating Integer objects while copying
        for (IntEntry<V> entry : t.intEntrySet()) {
            put(entry.getIntKey(), entry.getValue());
        }
    }
395891
protected boolean isReceiveAllowed(DestinationHandler destinationHandler)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "isReceiveAllowed", destinationHandler);

        boolean allowed = true;

        // Allow cleanup to receive messages
        if (!destinationHandler.isToBeDeleted())
        {
            if ((!destinationHandler.isReceiveAllowed()))
                allowed = false;
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "isReceiveAllowed", Boolean.valueOf(allowed));
        return allowed;
    }
58887
public static Object Map( Object source, Object destination )
	{
		List<DataBinding> res = new ArrayList<DataBinding>();

		LOGGER.fine( "Binding object of class " + getSimpleName( source.getClass() ) + " to another of class " + getSimpleName( destination.getClass() ) );

		Clazz<?> sourceClass = ClassInfo.Clazz( source.getClass() );
		Clazz<?> destinationClass = ClassInfo.Clazz( destination.getClass() );

		// registers all possible bindings...
		HashSet<String> bindedNames = new HashSet<String>();

		// fields wise...
		for( Field field : sourceClass.getAllFields() )
			bindedNames.add( field.getName() );
		for( Field field : destinationClass.getAllFields() )
			bindedNames.add( field.getName() );

		// ... and method wise
		for( Method method : sourceClass.getMethods() )
		{
			if( !method.getName().startsWith( "get" ) && !method.getName().startsWith( "set" ) )
				continue;

			String fieldName = method.getName().substring( 3, 4 ).toLowerCase() + method.getName().substring( 4 );
			bindedNames.add( fieldName );
		}
		for( Method method : destinationClass.getMethods() )
		{
			if( !method.getName().startsWith( "get" ) && !method.getName().startsWith( "set" ) )
				continue;

			String fieldName = method.getName().substring( 3, 4 ).toLowerCase() + method.getName().substring( 4 );
			bindedNames.add( fieldName );
		}

		for( String name : bindedNames )
		{
			boolean srcRead = Properties.hasSomethingToGetField( ClassInfo.Clazz( source.getClass() ), name );
			boolean srcWrite = Properties.hasSomethingToSetField( ClassInfo.Clazz( source.getClass() ), name );

			boolean destinationRead = Properties.hasSomethingToGetField( ClassInfo.Clazz( destination.getClass() ), name );
			boolean destinationWrite = Properties.hasSomethingToSetField( ClassInfo.Clazz( destination.getClass() ), name );

			// ensure both have necessary methods or field
			if( !srcRead || !destinationWrite )
				continue; // bypass

			// adjust binding mode according to capabilities
			Mode bindingMode = Mode.OneWay;
			if( srcWrite && destinationRead )
				bindingMode = Mode.TwoWay;

			DataAdapterInfo sourceAdapterInfo = createDataAdapter( source, name, null );
			if( sourceAdapterInfo == null )
				continue;

			DataAdapterInfo destinationAdapterInfo = createDataAdapter( destination, name, sourceAdapterInfo.dataType );
			if( destinationAdapterInfo == null )
				continue;

			// bind source, "color" <----> destination, "color.$HasValue"
			String symbol = "";
			switch( bindingMode )
			{
				case OneWay:
					symbol = "----->";
					break;
				case TwoWay:
					symbol = "<---->";
					break;
				case OneWayToSource:
					symbol = "<-----";
					break;
			}

			LOGGER.fine( "[" + getSimpleName( sourceAdapterInfo.dataType ) + "] " + sourceAdapterInfo.debugString + symbol + destinationAdapterInfo.debugString );

			DataBinding binding = new DataBinding( sourceAdapterInfo.adapter, destinationAdapterInfo.adapter, bindingMode, destinationAdapterInfo.converter, null );
			binding.activate();

			res.add( binding );
		}

		return res;
	}
329299
@SuppressWarnings("unchecked")
    public static <K, V> Map<K, V> extend(final Map<K, V> destination, final Map<K, V> ... sources) {
        final Map<K, V> result = newLinkedHashMap();
        for (final Map.Entry<K, V> entry : destination.entrySet()) {
            result.put(entry.getKey(), entry.getValue());
        }
        for (final Map<K, V> source : sources) {
            for (final Map.Entry<K, V> entry : source.entrySet()) {
                result.put(entry.getKey(), entry.getValue());
            }
        }
        return result;
    }
370462
public void putAll(TrxMessageHeader trxHeaderToMerge)
    {
        if (m_mapMessageHeader == null)
            m_mapMessageHeader = new HashMap<String,Object>();
        if (trxHeaderToMerge.getMessageHeaderMap() != null)
            this.getMessageHeaderMap().putAll(trxHeaderToMerge.getMessageHeaderMap());
        if (m_mapMessageInfo == null)
            m_mapMessageInfo = new HashMap<String,Object>();
        if (trxHeaderToMerge.getMessageInfoMap() != null)
            this.getMessageInfoMap().putAll(trxHeaderToMerge.getMessageInfoMap());
        if (m_mapMessageTransport == null)
            m_mapMessageTransport = new HashMap<String,Object>();
        if (trxHeaderToMerge.getMessageTransportMap() != null)
            this.getMessageTransportMap().putAll(trxHeaderToMerge.getMessageTransportMap());
    }
1299899
public static void mergeStringList(
      final List<String> destinationList, final List<String> sourceList) {
    if (sourceList != null) {
      for (String item : sourceList) {
        if (!destinationList.contains(item)) {
          destinationList.add(item);
        }
      }
    }
  }
245526
public boolean destinationExists(String destinationName, String busName) throws SIMPNullParameterException
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "destinationExists", new Object[] { destinationName, busName });

        // Check that the destination name is not null.  If it is, throw a
        // SIMPNullParameterException
        if (destinationName == null)
        {
            if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
                SibTr.exit(
                           tc,
                           "destinationExists",
                           "Destination name null");

            throw new SIMPNullParameterException(
                            nls_cwsik.getFormattedMessage(
                                                          "MISSING_PARAM_ERROR_CWSIP0044",
                                                          new Object[] { messageProcessor.getMessagingEngineName() }, null));

        }

        // Now look for the destination in the hash table
        boolean exists = destinationIndex.containsKey(busName, destinationName);

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "destinationExists", new Boolean(exists));

        return exists;

    }
925163
@Override
    public void moveObject(final FedoraSession session, final String source, final String destination) {
        final Session jcrSession = getJcrSession(session);
        try {
            final FedoraResource srcResource = find(session, source);
            final Node sourceNode = getJcrNode(srcResource);
            final String name = sourceNode.getName();
            final Node parent = sourceNode.getDepth() > 0 ? sourceNode.getParent() : null;

            jcrSession.getWorkspace().move(source, destination);

            if (parent != null) {
                createTombstone(parent, name);
            }

            touchLdpMembershipResource(getJcrNode(find(session, source)));
            touchLdpMembershipResource(getJcrNode(find(session, destination)));

        } catch (final RepositoryException e) {
            throw new RepositoryRuntimeException(e);
        }
    }
658019
private boolean checkReceiveAllowed() throws SISessionUnavailableException, SIResourceException
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "checkReceiveAllowed");

        boolean allowed = _destinationAttachedTo.isReceiveAllowed();

        if (!allowed)
        {
            // Register that LCP stopped for Receive Allowed
            _stoppedForReceiveAllowed = true;

            // Stop LCP for Receive Allowed
            if (!_stopped)
            {
                internalStop();
            }
        }
        else
        {
            // Register that LCP not stopped for Receive Allowed
            _stoppedForReceiveAllowed = false;

            // Start LCP if no reason to be stopped
            if ((_stopped)
                && (!_stoppedByRequest))
            {
                internalStart(false);
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "checkReceiveAllowed", Boolean.valueOf(allowed));

        return allowed;
    }