core/src/com/google/inject/internal/Annotations.java
public static Class<? extends Annotation> canonicalizeIfNamed(
      Class<? extends Annotation> annotationType) {
    if (annotationType == javax.inject.Named.class) {
      return Named.class;
    } else {
      return annotationType;
    }
  }
public static Class<? extends Annotation> canonicalizeIfNamed(
      Class<? extends Annotation> annotationType) {
    if (annotationType == javax.inject.Named.class) {
      return Named.class;
    } else {
      return annotationType;
    }
  }
public static Class < ? extends Annotation > canonicalizeIfNamed ( Class < ? extends Annotation > annotationType ) { if ( annotationType == javax . inject . Named . class ) { return Named . class ; } else { return annotationType ; } }
If the annotation is the class {@code javax.inject.Named}, canonicalizes to
com.google.guice.name.Named. Returns the given annotation class otherwise.
If the annotation is the class {