MCPcopy Index your code
hub / github.com/apache/groovy / newLookup

Method newLookup

src/main/java/org/codehaus/groovy/vmplugin/v9/Java9.java:142–149  ·  view source on GitHub ↗

{@inheritDoc}

(final Class<?> targetClass)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

lookupMethod · 0.45

Tested by

no test coverage detected