/** * Get the utility by the interface that it implements * * @param utilityType The lookup key (utility interface) * @return The instance of the utility * * @throws IllegalArgumentException if utilityType is null */ public <T> T getUtility(Class<T> utilityType) { return getUtility(utilityType, null); }
/** * Get the utility by the interface that it implements * * @param utilityType The lookup key (utility interface) * @return The instance of the utility * * @throws IllegalArgumentException if utilityType is null */ public <T> T getUtility(Class<T> utilityType) { return getUtility(utilityType, null); }