Returns a list of {@link FormBeanModel}.
428487
public List getFormBeansByActualType( String actualTypeName, Boolean usesPageFlowScopedBean )
    {
        ArrayList beans = null;
        
        for ( Iterator i = _formBeans.values().iterator(); i.hasNext(); )
        {
            FormBeanModel formBean = ( FormBeanModel ) i.next();
            
            if ( formBean != null && formBean.getActualType().equals( actualTypeName )
                 && ( usesPageFlowScopedBean == null || usesPageFlowScopedBean.booleanValue() == formBean.isPageFlowScoped() ) )
            {
                if ( beans == null ) beans = new ArrayList();
                beans.add( formBean );
            }
        }

        return beans;
    }
1062322
private List<String> getResources() {

        List<String> res = new ArrayList<String>();

        for (I_CmsEditableGroupRow row : m_resourcesGroup.getRows()) {
            FormLayout layout = (FormLayout)(row.getComponent());
            CmsPathSelectField field = (CmsPathSelectField)layout.getComponent(0);
            if (!field.getValue().isEmpty() & !res.contains(field.getValue())) {
                res.add(field.getValue());
            }
        }

        return res;
    }
400038
def get_form_kwargs(self):
        
        kwargs = super(ModelFormMixin, self).get_form_kwargs()
        kwargs['poll'] = self.object
        return kwargs
614981
public static List<CommercePaymentMethodGroupRel> toModels(
		CommercePaymentMethodGroupRelSoap[] soapModels) {
		if (soapModels == null) {
			return null;
		}

		List<CommercePaymentMethodGroupRel> models = new ArrayList<CommercePaymentMethodGroupRel>(soapModels.length);

		for (CommercePaymentMethodGroupRelSoap soapModel : soapModels) {
			models.add(toModel(soapModel));
		}

		return models;
	}
433092
public List<FieldRef> getFields() {
        Map<String,FieldRef> fields = new LinkedHashMap<String,FieldRef>();
        for (Klass<?> k = this; k!=null; k=k.getSuperClass()) {
            for (FieldRef f : k.getDeclaredFields()) {
                String name = f.getName();
                if (!fields.containsKey(name) && f.isRoutable()) {
                    fields.put(name,f);
                }
            }
        }

        return new ArrayList<FieldRef>(fields.values());
    }
536607
public List<MethodType<BeanType<T>>> getAllMethod()
   {
      List<MethodType<BeanType<T>>> list = new ArrayList<MethodType<BeanType<T>>>();
      List<Node> nodeList = childNode.get("method");
      for(Node node: nodeList)
      {
         MethodType<BeanType<T>>  type = new MethodTypeImpl<BeanType<T>>(this, "method", childNode, node);
         list.add(type);
      }
      return list;
   }
360086
@Override
    public List<WaveBean> waveBeanList() {
        if (this.waveBeanMap != null && !this.waveBeanMap.isEmpty()) {
            return new ArrayList<>(this.waveBeanMap.values());
        }
        return new ArrayList<>();
    }
1061809
public static List<CommerceShippingMethod> toModels(
		CommerceShippingMethodSoap[] soapModels) {
		if (soapModels == null) {
			return null;
		}

		List<CommerceShippingMethod> models = new ArrayList<CommerceShippingMethod>(soapModels.length);

		for (CommerceShippingMethodSoap soapModel : soapModels) {
			models.add(toModel(soapModel));
		}

		return models;
	}
1165249
List<Shape> getAnnotationOutlines() {
        List<Shape> shapes = new ArrayList<Shape>();
        for (TextOutline adjunct : annotationAdjuncts)
            shapes.add(adjunct.getOutline());
        return shapes;
    }
413361
@NonNull
	public List<T> getObject() {

		List<T> beans = new ArrayList<T>();
		beans.addAll(getBeans());
		Collections.sort(beans, COMPARATOR);

		return beans;
	}
207908
public void addFields(List<ModelFieldBean> modelFields) {
		Assert.notNull(modelFields, "modelFields must not be null");

		for (ModelFieldBean bean : modelFields) {
			this.fields.put(bean.getName(), bean);
		}
	}
161673
public List<FieldReferenceExpression> getAllInputFields() {
		return fieldReferences.stream().flatMap(input -> input.values().stream()).collect(toList());
	}
693309
private Set<Bean<?>> getBeansForBeanIdentifierIndex() {
        Set<Bean<?>> beans = new HashSet<Bean<?>>();
        for (BeanDeployment beanDeployment : getBeanDeployments()) {
            for (Bean<?> bean : beanDeployment.getBeanManager().getBeans()) {
                if (!(bean instanceof AbstractBuiltInBean<?>)
                        && (bean.getScope().equals(SessionScoped.class) || bean.getScope().equals(ConversationScoped.class))) {
                    beans.add(bean);
                }
            }
        }
        return beans;
    }
740580
public TreeSet<HtmlParameter> getFormParams() {
		final String contentType = mReqHeader.getHeader(HttpRequestHeader.CONTENT_TYPE);
		if (contentType == null
				|| !StringUtils.startsWithIgnoreCase(contentType.trim(), HttpHeader.FORM_URLENCODED_CONTENT_TYPE)) {
			return new TreeSet<>();
		}
		return this.getParamsSet(HtmlParameter.Type.form);
	}
1213693
public List<I_CmsFormatterBean> getDisplayFormatters() {

        if (m_displayFormatters == null) {
            List<I_CmsFormatterBean> formatters = new ArrayList<I_CmsFormatterBean>(
                Collections2.filter(m_allFormatters, new IsDisplay()));
            if (formatters.size() > 1) {
                Collections.sort(formatters, new Comparator<I_CmsFormatterBean>() {

                    public int compare(I_CmsFormatterBean o1, I_CmsFormatterBean o2) {

                        return o1.getRank() == o2.getRank() ? 0 : (o1.getRank() < o2.getRank() ? -1 : 1);
                    }
                });
            }
            m_displayFormatters = Collections.unmodifiableList(formatters);
        }
        return m_displayFormatters;
    }
1067523
public static List<Field> listFields(Class<?> clazz) {
    	assert clazz != null;
        Class<?> entityClass = clazz;
        List<Field> list = new ArrayList<Field>();
        while (!Object.class.equals(entityClass) && entityClass != null) {
            list.addAll(Arrays.asList(entityClass.getDeclaredFields()));
            entityClass = entityClass.getSuperclass();
        }
        return list;
    }
63886
public List<CmsModelPageEntry> getModelPages() {

        List<CmsModelPageConfig> modelPageConfigs = m_adeConfig.getModelPages(true);
        return buildModelPageList(modelPageConfigs);
    }