@JavaDispatcher.Proxied(value="java.lang.invoke.MethodHandles$Lookup") public static interface ClassInjector.UsingLookup.MethodHandles.Lookup
java.lang.invoke.MethodHandles$Lookup
.Modifier and Type | Method and Description |
---|---|
Class<?> |
defineClass(Object lookup,
byte[] binaryRepresentation)
Defines the represented class.
|
Class<?> |
lookupClass(Object lookup)
Returns the lookup type for a given method handle lookup.
|
int |
lookupModes(Object lookup)
Returns a lookup objects lookup types.
|
Class<?> lookupClass(Object lookup)
lookup
- The lookup instance.int lookupModes(Object lookup)
lookup
- The lookup instance.Class<?> defineClass(Object lookup, byte[] binaryRepresentation) throws IllegalAccessException
lookup
- The lookup instance.binaryRepresentation
- The binary representation.IllegalAccessException
- If the definition implies an illegal access.Copyright © 2014–2022. All rights reserved.