move logic collect adaptive keys from Proxy InvocationHandler to method createAdaptiveInstance #45