All pastes #543813 Raw Edit

Unnamed

public java v1 · immutable
·published 2007-06-06 06:03 UTC
rendered paste body
  private void injectService (DummyPodcastFactory service, Object action,      Method target) throws Exception {    assert (service != null);    assert (action != null);    assert (target != null);    assert (hasInjectionAnnotation (target));    assert (hasCompatibleSignature (target));    boolean state = forceAccessible (target);    try {      target.invoke (action, service);    } finally {      restoreAccessibleState (target, state);    }  }