package de.lemona.android.guice;

import android.app.IntentService;

import com.google.inject.Binder;
import com.google.inject.Module;

public abstract class InjectableIntentService extends IntentService {
    /**
     * {@inheritDoc}
     */
    public InjectableIntentService(String name) {
        super(name);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Injection.createInjector(this, new Module() {
            @Override
            public void configure(Binder binder) {
                onInject(binder);
            }
        });
    }

    protected void onInject(@SuppressWarnings("unused") Binder binder) {
        // Allow classes to override this method
    }
}

@@ -199,16 +199,51 @@
 rvice %7B%0A
+%0A    static %7B Injection.init(); %7D%0A%0A
     /**%0A
@@ -276,21 +276,24 @@
 */%0A    p
-ublic
+rotected
  Injecta

Make InjectableIntentService invoke Injection.init() in the same way with InjectableServic