Class MapInjectionResources

    • Method Detail

      • findResource

        public <T> T findResource​(Class<T> type,
                                  Type genericType)
        Description copied from interface: InjectionResources
        Given the field type, provide the matching resource value, or null.
        Specified by:
        findResource in interface InjectionResources
        Parameters:
        type - type of field or parameter
        genericType - generic type information associated with field or parameter
        Returns:
        the corresponding value, or null