com.twitter.inject.annotations.Flag Maven / Gradle / Ivy
The newest version!
package com.twitter.inject.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.google.inject.BindingAnnotation;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Annotates parsed flags.
*
* @see
* @see
*/
@Retention(RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.METHOD})
@BindingAnnotation
public @interface Flag {
/** Name of the flag */
String value();
}