Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.kohsuke.stapler.extensibility;
 
Abstraction for how we get com.google.inject.Injector. This allows us to test much of the stuff without deploying it as a webapp.

Author(s):
Kohsuke Kawaguchi
public abstract class InjectorHolder {
    public abstract Injector get();
    public static InjectorHolder HOLDER;
    public static Injector getInjector() {
        return .get();
    }
New to GrepCode? Check out our FAQ X