@@ -0,0 +1,1826 @@
+/*%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;%0A%0Aimport javax.inject.Named;%0A%0Aimport org.grouplens.grapht.util.AnnotationBuilder;%0A%0A/**%0A * Names is a utility class to create %7B@link Named%7D annotation instances when%0A * configuring an injector that relies on named qualifiers. Qualifiers with%0A * other attributes can by instantiated using the %7B@link AnnotationBuilder%7D.%0A * %0A * @author Michael Ludwig %3Cmludwig@cs.umn.edu%3E%0A */%0Apublic class Names %7B%0A    /**%0A     * Get a Named annotation instance whose value equals the provided String.%0A     * The returned annotation is equal to annotations created by a declaration%0A     * matching: %3Ccode%3E@Named(name)%3C/code%3E, where name is the input String.%0A     * %0A     * @param name The name value for the returned annotation%0A     * @return A Named instance wrapping the given name%0A     */%0A    public static Named named(String name) %7B%0A        return new AnnotationBuilder%3CNamed%3E(Named.class)%0A            .set(%22value%22, name)%0A            .build();%0A    %7D%0A%7D%0A

Add @Named utility class that wraps AnnotationBuilder.