Creates new widget and puts it to container at first free index

@param factory Factory of new widget
@param name    Name of tab
@return Instance of created widget
765869
public Widget put(IWidgetFactory factory, String name) {
		Widget widget = factory.getWidget();
		put(widget, name);
		return widget;
	}
1106067
public Cursor newCursor(String name)
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "newCursor", name);

    Cursor cursor = new Cursor(name,this,true);
        
    if (tc.isEntryEnabled())
      SibTr.exit(tc, "newCursor", cursor);
    
    return cursor;
  }
604794
function (name) {
    name = name || BASE_OVERLAY;
    if (!this.instances[name]) {
      this.instances[name] = DevFixturesOverlay.create({name: name});
    }
    return this.instances[name];
  }
1367848
function Factory(name, model, attributes) {
    this.name = name;
    this.model = model;
    this.attributes = attributes;
}
841808
protected <W extends Widget> W widget(WidgetFactory<W> factory,
      WidgetInitializer<W> initializers) {
    return widget(get(0), factory, initializers);
  }
394215
private T createOrThrow(String name) {
        T constant = constants.get(name);
        if (constant == null) {
            final T tempConstant = newConstant(nextId(), name);
            constant = constants.putIfAbsent(name, tempConstant);
            if (constant == null) {
                return tempConstant;
            }
        }

        throw new IllegalArgumentException(String.format("'%s' is already in use", name));
    }
1237402
public String tabMaker(int n) {
		StringBuilder buf = new StringBuilder("");

		for (int i = 1; i <= n; i++) {
			buf.append("  ");
		}
		String tab = buf.toString();
		return tab;
	}
101156
private DevUtilsDemoObject create(final String name, ExecutionContext executionContext) {
        return executionContext.add(this, devUtilsDemoObjects.create(name));
    }
289851
@MemberOrder(sequence = "2")
    public DevUtilsDemoObject create(
            @ParameterLayout(named="Name") final String name) {
        final DevUtilsDemoObject obj = container.newTransientInstance(DevUtilsDemoObject.class);
        obj.setName(name);
        container.persistIfNotAlready(obj);
        return obj;
    }
491672
public VDirectory getDirectoryCreate(String name) {
		VDirectory child = new VDirectory(this, name);
		child.create();
		return child;
	}
890412
public Widget put(IWidgetFactory factory, int x, int y) throws IndexOutOfBoundsException {
		Widget widget = factory.getWidget();
		put(widget, x, y);
		return widget;
	}
637029
public static Object newInstance(String name) {
        try {
            return forName(name).newInstance();
        } catch (InstantiationException e) {
            throw new IllegalStateException(e.getMessage(), e);
        } catch (IllegalAccessException e) {
            throw new IllegalStateException(e.getMessage(), e);
        }
    }
100741
public static Requirement newInstance(String name)
    {
        Requirement requirement = new Requirement();
        requirement.setName(name);
        return requirement;
    }
898563
private SomeCommandAnnotatedObject create(final String name, ExecutionContext executionContext) {
        return executionContext.add(this, someCommandAnnotatedObjects.create(name));
    }
102961
public function createTab($name, $label, $options = array())
    {
        $options = array_replace(
            $options,
            array(
                'label' => $label,
                'inherit_data' => true,
            ));

        $tab = $this->formBuilder->create($name, TabsTabType::class, $options);
        $this->formBuilder->get('tabs')->add($tab);

        return $tab;
    }
539238
public ProductFactoryCascade<T> addFactoryBefore(ProductFactory<? extends T> factory) {
		ArrayList<ProductFactory<? extends T>> factories = new ArrayList<ProductFactory<? extends T>>(this.factories.size()+1);
		factories.addAll(this.factories);
		factories.add(0, factory);
		return new ProductFactoryCascade<>(factories);
	}
910538
function(name) {
			var args = [].slice.call(arguments, 1);
			var factory = this.get(name);
			return factory ? factory.apply(this, args) : null;
		}