code: public <T> T getLocalExtension(Class<T> extensionType) {
          Object obj = extensions.get(extensionType);
          if (null != obj) {
              return extensionType.cast(obj);
          }
          return null;
      }
docs: Comparing with getExtension method, getLocalExtension will not trigger to create/search ConfiguredBeanLocator
  
  @param extensionType
  @return