/** {@inheritDoc} */ public void uninject() { try { final Value<T> storedValue = getStoredValue(); if (storedValue != null) removeMethod.invoke(target.getValue(), storedValue.getValue()); } catch (InvocationTargetException e) { InjectorLogger.INSTANCE.uninjectFailed(e.getCause(), removeMethod); } catch (IllegalAccessException e) { InjectorLogger.INSTANCE.uninjectFailed(e, removeMethod); } finally { super.uninject(); } } }
/** {@inheritDoc} */ public void uninject() { try { final Value<T> storedValue = getStoredValue(); if (storedValue != null) removeMethod.invoke(target.getValue(), storedValue.getValue()); } catch (InvocationTargetException e) { InjectorLogger.INSTANCE.uninjectFailed(e.getCause(), removeMethod); } catch (IllegalAccessException e) { InjectorLogger.INSTANCE.uninjectFailed(e, removeMethod); } finally { super.uninject(); } } }