{@inheritDoc}
(final Class<?> targetClass)
| 140 | |
| 141 | /** {@inheritDoc} */ |
| 142 | @Override |
| 143 | protected MethodHandles.Lookup newLookup(final Class<?> targetClass) { |
| 144 | try { |
| 145 | return MethodHandles.privateLookupIn(targetClass, MethodHandles.lookup()); |
| 146 | } catch (final IllegalAccessException e) { |
| 147 | throw new IllegalArgumentException(e); |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | //-------------------------------------------------------------------------- |
| 152 |
no test coverage detected