Bug 301362 ReflectionContributionFactory is not reusable
There are several "private" methods in the class ReflectionContributionFactory, such as getBundle() and createFromBundle(). They prevent to reuse this class in e4 Designer. We need just to change them to protected
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/workbench/ui/internal/ReflectionContributionFactory.java
}
			});
			
			for (Iterator<Method> iter = toSort.iterator(); iter.hasNext() && targetMethod == null;) {
				Method next = iter.next();
				boolean satisfiable = true;
				Class<?>[] params = next.getParameterTypes();
				for (int i = 0; i < params.length && satisfiable; i++) {
					Class<?> clazz = params[i];
					if (!context.containsKey(clazz.getName())
							&& !IEclipseContext.class.equals(clazz)) {
						satisfiable = false;
					}
				}
				if (satisfiable) {
					targetMethod = next;
				}
			}
		}
		if (targetMethod == null) {
			if (defaultValue != null) {
				return defaultValue;
			}
			throw new RuntimeException(
					"could not find satisfiable method " + methodName + " in class " + object.getClass()); 
		}
		Class<?>[] paramKeys = targetMethod.getParameterTypes();
		try {
			Activator.trace(Policy.DEBUG_CMDS, "calling: " + methodName, null); 
			Object[] params = new Object[paramKeys.length];