return ((List) arg0).toArray();
List elements = new ArrayList(); for (Object obj : (List) arg0) { if (obj instanceof ComponentArtifact) { elements.addAll(((ComponentArtifact) obj) .getComponents().getComponent()); } } return elements.toArray();
					public Object[] getElements(Object arg0) {						if (arg0 instanceof List) {							return ((List) arg0).toArray();						} else							return new ComponentArtifact[] {};					}