
org.kohsuke.stapler.extensibility.StaplerRoot Maven / Gradle / Ivy
The newest version!
package org.kohsuke.stapler.extensibility;
import com.google.inject.BindingAnnotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
/**
* Useful to inject the application object without knowing the type of it.
*
*
* @StaplerRoot @Inject Object app;
*
*
* @author Kohsuke Kawaguchi
*/
@BindingAnnotation
@Target({FIELD, PARAMETER, METHOD })
@Retention(RUNTIME)
public @interface StaplerRoot {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy