org.eclipse.xtext.util.Modules2 Maven / Gradle / Ivy
/*******************************************************************************
* Copyright (c) 2010 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.eclipse.xtext.util;
import com.google.inject.Module;
import com.google.inject.util.Modules;
/**
* @author svenefftinge - Initial contribution and API
*/
public class Modules2 {
public static Module mixin(Module...m) {
if (m.length==0)
return null;
Module current = m[0];
for (int i=1;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy