@@ -0,0 +1,1339 @@
+/*%0A * Grapht, an open source dependency injector.%0A * Copyright 2010-2012 Regents of the University of Minnesota and contributors%0A *%0A * This program is free software; you can redistribute it and/or modify%0A * it under the terms of the GNU Lesser General Public License as%0A * published by the Free Software Foundation; either version 2.1 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful, but WITHOUT%0A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS%0A * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more%0A * details.%0A *%0A * You should have received a copy of the GNU General Public License along with%0A * this program; if not, write to the Free Software Foundation, Inc., 51%0A * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.%0A */%0Apackage org.grouplens.grapht.util;%0A%0Aimport javax.inject.Provider;%0A%0A/**%0A * Utility methods for providers.%0A *%0A * @since 0.6%0A * @author %3Ca href=%22http://www.grouplens.org%22%3EGroupLens Research%3C/a%3E%0A */%0Apublic final class Providers %7B%0A    private Providers() %7B%7D%0A%0A    public static %3CT%3E Provider%3CT%3E of(T object) %7B%0A        return new InstanceProvider%3CT%3E(object);%0A    %7D%0A%0A    public static %3CT%3E Provider%3CT%3E memoize(Provider%3CT%3E inner) %7B%0A        return new MemoizingProvider%3CT%3E(inner);%0A    %7D%0A%7D%0A

add missing license header