@Override public E get(Expression<K> key) { try { PathMetadata<K> md = forMapAccess(key); return newInstance(md); } catch (NoSuchMethodException e) { throw new ExpressionException(e); } catch (InstantiationException e) { throw new ExpressionException(e); } catch (IllegalAccessException e) { throw new ExpressionException(e); } catch (InvocationTargetException e) { throw new ExpressionException(e); } }
@Override public E get(K key) { try { PathMetadata<K> md = forMapAccess(key); return newInstance(md); } catch (NoSuchMethodException e) { throw new ExpressionException(e); } catch (InstantiationException e) { throw new ExpressionException(e); } catch (IllegalAccessException e) { throw new ExpressionException(e); } catch (InvocationTargetException e) { throw new ExpressionException(e); } }