All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.inject.name.Named Maven / Gradle / Ivy

package com.google.inject.name;

import com.google.inject.BindingAnnotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Annotates named things.
 */
@Retention(RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
@BindingAnnotation
public @interface Named {
    String value();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy