/** * Add a utility to the extension point. This default implementation * stores utilities against the interfaces that they implement. * * @param utility The instance of the utility * * @throws IllegalArgumentException if utility is null */ public void addUtility(Object utility) { addUtility(null, utility); }
/** * Add a utility to the extension point. This default implementation * stores utilities against the interfaces that they implement. * * @param utility The instance of the utility * * @throws IllegalArgumentException if utility is null */ public void addUtility(Object utility) { addUtility(null, utility); }
addUtility(utility); } else { addUtility(key, utility);
addUtility(utility); } else { addUtility(key, utility);