org.osgi.framework.Bundle[] result = new org.osgi.framework.Bundle[fragments.size()]; fragments.toArray(result);
org.osgi.framework.Bundle[] result = new org.osgi.framework.Bundle[fragments.length]; System.arraycopy(fragments,0,result,0,result.length);
	public org.osgi.framework.Bundle[] getFragments() {		synchronized (this) {			if (fragments == null)				return null;			org.osgi.framework.Bundle[] result = new org.osgi.framework.Bundle[fragments.size()];			fragments.toArray(result);			return result;		}	}