class DefaultKeyProvider implements KeyProvider {

    Method getKeyMethod(final Object keyObject) throws NoSuchMethodException {
        return methodStore.getKeyMethod(keyObject.getClass());
    }

}