Well, I would call this bit:
private static Injector injector = Guice.createInjector(new Guicer());
public static void setInjector(Injector injector) {
Guicer.injector = injector;
}
global variable with record.
And here:
public static <T> T getInstance(Class<T> c) {
return injector.getInstance(c);
}
. , , , . , , - .
, - , , - , - .
, , .