Method used to remove the reference data(String Patterns, Dictionaries,
Synonyms) components' values in components

@param referenceData
@param referenceDataClass
510216
private void removeReferenceDataValuesInComponents(final ReferenceData referenceData,
            final Class<?> referenceDataClass) {
        final Collection<ComponentBuilder> componentBuilders = _analysisJobBuilder.getComponentBuilders();
        for (final ComponentBuilder componentBuilder : componentBuilders) {
            final Map<ConfiguredPropertyDescriptor, Object> configuredProperties =
                    componentBuilder.getConfiguredProperties();
            for (final Map.Entry<ConfiguredPropertyDescriptor, Object> entry : configuredProperties.entrySet()) {
                final ConfiguredPropertyDescriptor propertyDescriptor = entry.getKey();
                if (referenceDataClass.isAssignableFrom(propertyDescriptor.getBaseType())) {
                    final Object valueObject = entry.getValue();
                    // In some cases the configured property is an array
                    if (valueObject.getClass().isArray()) {
                        final Object[] values = (Object[]) valueObject;
                        final Class<?> componentType = valueObject.getClass().getComponentType();
                        // create the new array
                        final Object[] newArray = (Object[]) Array.newInstance(componentType, values.length - 1);
                        int j = 0;
                        for (int i = 0; i < values.length; i++) {
                            if (!referenceData.equals(values[i])) {
                                // keep only the values different than the one select to be removed
                                newArray[j] = values[i];
                                j++;
                            }
                        }
                        componentBuilder.setConfiguredProperty(propertyDescriptor, newArray);
                    } else {
                        if (referenceData.equals(valueObject)) {
                            componentBuilder.setConfiguredProperty(propertyDescriptor, null);
                        }
                    }
                }
            }
        }
    }
12560
public void clear(String treeReference){
		Pool<BehaviorTree> treePool = pools.get(treeReference);
		if(treePool != null){
			treePool.clear();
		}
	}
750378
public void clearTmpData() {
		for (Enumeration<?> e = breadthFirstEnumeration(); e.hasMoreElements(); ) {
			((LblTree) e.nextElement()).setTmpData(null);
		}
	}
1127502
@Override
    public void revert(DataSet data) {
        revertFeatures(data.getFeatures(), data.getFeaturesMaskArray());
        revertLabels(data.getLabels(), data.getLabelsMaskArray());
    }
1305088
public void removeRelationship(String baseTableName,
			String relatedTableName, String relationName) {

		try {
			if (extendedRelationsDao.isTableExists()) {
				List<ExtendedRelation> extendedRelations = getRelations(
						baseTableName, relatedTableName, relationName, null);
				for (ExtendedRelation extendedRelation : extendedRelations) {
					removeRelationship(extendedRelation);
				}
			}
		} catch (SQLException e) {
			throw new GeoPackageException("Failed to remove relationship '"
					+ relationName + "' between " + baseTableName + " and "
					+ relatedTableName, e);
		}

	}
34775
public void removeDataSource(String name) throws ExpressionException, SecurityException {
	checkWriteAccess();
	// check parameters
	if (name == null || name.length() == 0) throw new ExpressionException("name for Datasource Connection can be a empty value");

	Element datasources = _getRootElement("data-sources");

	Element[] children = XMLConfigWebFactory.getChildren(datasources, "data-source");
	for (int i = 0; i < children.length; i++) {
	    String n = children[i].getAttribute("name");
	    if (n != null && n.equalsIgnoreCase(name)) {
		datasources.removeChild(children[i]);
	    }
	}
    }
291521
public void delete(final String referenceId) {
        final CriteriaBuilder builder = getSession().getCriteriaBuilder();
        final CriteriaDelete<PrintJobStatusExtImpl> delete =
                builder.createCriteriaDelete(PrintJobStatusExtImpl.class);
        final Root<PrintJobStatusExtImpl> root = delete.from(PrintJobStatusExtImpl.class);
        delete.where(builder.equal(root.get("referenceId"), referenceId));
        getSession().createQuery(delete).executeUpdate();
    }
902394
protected synchronized void removeAdminObjectService(ServiceReference<AdminObjectService> reference) {
        String id = (String) reference.getProperty(ADMIN_OBJECT_CFG_ID);
        if (id != null) {
            removeAdminObjectService(reference, id, false);

            String jndiName = (String) reference.getProperty(ADMIN_OBJECT_CFG_JNDI_NAME);
            if (jndiName != null && !jndiName.equals(id)) {
                removeAdminObjectService(reference, jndiName, true);
            }
        }
    }
262007
protected void unsetComponentMetadataDecorator(ServiceReference<ComponentMetaDataDecorator> ref) {
        componentMetadataDecoratorRefs.removeReference((String) ref.getProperty("component.name"), ref);
    }
52169
private void clearMemberData()
   {
      m_reader = null;
      m_eventManager = null;
      m_file = null;
      m_root = null;
      m_resourceMap = null;
      m_projectDir = null;
      m_viewDir = null;
      m_outlineCodeVarData = null;
      m_outlineCodeVarMeta = null;
      m_projectProps = null;
      m_fontBases = null;
      m_taskSubProjects = null;
      m_parentTasks = null;
      m_taskOrder = null;
      m_nullTaskOrder = null;
   }
102181
private void clearMemberData()
   {
      m_reader = null;
      m_root = null;
      m_eventManager = null;
      m_file = null;
      m_calendarMap = null;
      m_projectDir = null;
      m_viewDir = null;
   }
722986
@Override
    public ExternalStylesheetDescriptor deleteData(String name) {
        final IStylesheetDescriptor stylesheetDescriptor =
                this.stylesheetDescriptorDao.getStylesheetDescriptorByName(name);
        if (stylesheetDescriptor == null) {
            return null;
        }

        ExternalStylesheetDescriptor result = convert(stylesheetDescriptor);
        this.stylesheetDescriptorDao.deleteStylesheetDescriptor(stylesheetDescriptor);
        return result;
    }
613672
@Override
    public boolean processDeferredReferenceData() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.entry(tc, "processDeferredReferenceData", "this=" + this);
        }

        Map<DeferredReferenceData, Boolean> deferredReferenceDatas;
        synchronized (this) {
            deferredReferenceDatas = this.deferredReferenceDatas;
            this.deferredReferenceDatas = null;

            if (parent != null) {
                parent.removeDeferredReferenceData(this);
            }
        }

        boolean any = false;

        if (deferredReferenceDatas != null) {
            for (DeferredReferenceData refData : deferredReferenceDatas.keySet()) {
                try {
                    any |= refData.processDeferredReferenceData();
                } catch (InjectionException ex) {
                    // We're processing all references in an attempt to locate
                    // non-java:comp references, so we don't care about failures
                    // (erroneous or conflicting metadata).  Any exception that
                    // is thrown will be rethrown by ReferenceContext.process
                    // when the component is actually used.
                    ex.getClass(); // findbugs
                }
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            Tr.exit(tc, "processDeferredReferenceData", any);
        }
        return any;
    }
166696
function () {
        // we unlink every member from it's parent (assuming this is their parent)
        this.all().forEach(PropertyList._unlinkItemFromParent);

        this.members.length = 0; // remove all items from list

        // now we remove all items from index reference
        Object.keys(this.reference).forEach(function (key) {
            delete this.reference[key];
        }.bind(this));
    }
764044
@Deprecated
    public void removeData(C data) {
        Preconditions.checkState(mGroupBasicAdapter != null, "Must call bindView() first");
        this.mGroupBasicAdapter.removeGroup(data);
    }
727193
private void removeDataBindings() {
        Bindings.unbindContent(detailedDayView.getCalendarSources(),
                getCalendarSources());
        Bindings.unbindContentBidirectional(
                detailedDayView.getCalendarVisibilityMap(),
                getCalendarVisibilityMap());
        Bindings.unbindContent(detailedWeekView.getCalendarSources(),
                getCalendarSources());
        Bindings.unbindContentBidirectional(
                detailedWeekView.getCalendarVisibilityMap(),
                getCalendarVisibilityMap());
        Bindings.unbindContent(monthView.getCalendarSources(),
                getCalendarSources());
        Bindings.unbindContentBidirectional(
                monthView.getCalendarVisibilityMap(),
                getCalendarVisibilityMap());
    }
454703
@Override
    protected void findReferencedClassNames(final Set<String> referencedClassNames) {
        if (this.referencedClassNames != null) {
            referencedClassNames.addAll(this.referencedClassNames);
        }
        getMethodInfo().findReferencedClassNames(referencedClassNames);
        getFieldInfo().findReferencedClassNames(referencedClassNames);
        getAnnotationInfo().findReferencedClassNames(referencedClassNames);
        if (annotationDefaultParamValues != null) {
            annotationDefaultParamValues.findReferencedClassNames(referencedClassNames);
        }
        final ClassTypeSignature classSig = getTypeSignature();
        if (classSig != null) {
            classSig.findReferencedClassNames(referencedClassNames);
        }
        // Remove any self-references
        referencedClassNames.remove(name);
    }