| Modifier and Type | Method and Description |
|---|---|
| public VarHandle | collectCoordinates(VarHandle target, int pos, MethodHandle filter)
Var handle collect coordinates combinator. |
| public VarHandle | dropCoordinates(VarHandle target, int pos, Class<?>... valueTypes)
Var handle drop coordinates combinator. |
| public Class | Returns: an array of exceptions, ornull.the handle to check handle)A best-effort method that tries to find any exceptions thrown by the given method handle. |
| public VarHandle | filterCoordinates(VarHandle target, int pos, MethodHandle... filters)
Var handle filter coordinates combinator. |
| public VarHandle | filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget)
Var handle carrier combinator. |
| public MethodHandle | findStatic(Class<?> defc, String name, MethodType type)
Produces a method handle of a static method with the trusted lookup. |
| public MethodHandle | findVirtual(Class<?> defc, String name, MethodType type)
Produces a method handle of a virtual method with the trusted lookup. |
| public Map | generateHolderClasses(Stream<String> traces)
Returns a map of class name in internal forms to its corresponding class bytes per the given stream of LF_RESOLVE and SPECIES_RESOLVE trace logs. |
| public Class | |
| public MethodType | getMethodType(String descriptor, ClassLoader loader)
Returns the |
| public VarHandle | insertCoordinates(VarHandle target, int pos, Object... values)
Var handle insert coordinates combinator. |
| public boolean | |
| public boolean | |
| public VarHandle | memorySegmentViewHandle(Class<?> carrier, MemoryLayout enclosing, long alignmentMask, ByteOrder order, boolean constantOffset, long offset)
Returns a var handle view of a given memory segment. |
| public MethodHandle | Returns: the native method handlethe native entry point nep)Returns a native method handle with given arguments as fallback and steering info. |
| public VarHandle | permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder)
Var handle permute coordinates combinator. |
| public MethodHandle | reflectiveInvoker(Class<?> caller)
Returns a method handle of an invoker class injected for core reflection implementation with the following signature: reflect_invoke_V(MethodHandle mh, Object target, Object[] args) The invoker class is a hidden class which has the same defining class loader, runtime package, and protection domain as the given caller class. |
| public MethodHandle | serializableConstructor(Class<?> decl, Constructor<?> ctorToCall)
Returns a method handle that allocates an instance of the given class and then invoke the given constructor of one of its superclasses. |
| public MethodHandle | unreflectConstructor(Constructor<?> ctor)
Produces a method handle unreflecting from a |
| public MethodHandle | unreflectField(Field field, boolean isSetter)
Produces a method handle unreflecting from a |
| collectCoordinates | back to summary |
|---|---|
| public VarHandle collectCoordinates(VarHandle target, int pos, MethodHandle filter) Var handle collect coordinates combinator.
Used by | |
| dropCoordinates | back to summary |
|---|---|
| public VarHandle dropCoordinates(VarHandle target, int pos, Class<?>... valueTypes) Var handle drop coordinates combinator.
Used by | |
| exceptionTypes | back to summary |
|---|---|
| public Class A best-effort method that tries to find any exceptions thrown by the given method handle.
| |
| filterCoordinates | back to summary |
|---|---|
| public VarHandle filterCoordinates(VarHandle target, int pos, MethodHandle... filters) Var handle filter coordinates combinator.
Used by | |
| filterValue | back to summary |
|---|---|
| public VarHandle filterValue(VarHandle target, MethodHandle filterToTarget, MethodHandle filterFromTarget) Var handle carrier combinator.
Used by | |
| findStatic | back to summary |
|---|---|
| public MethodHandle findStatic(Class<?> defc, String name, MethodType type) throws IllegalAccessException Produces a method handle of a static method with the trusted lookup. | |
| findVirtual | back to summary |
|---|---|
| public MethodHandle findVirtual(Class<?> defc, String name, MethodType type) throws IllegalAccessException Produces a method handle of a virtual method with the trusted lookup. | |
| generateHolderClasses | back to summary |
|---|---|
| public Map Returns a map of class name in internal forms to its corresponding class bytes per the given stream of LF_RESOLVE and SPECIES_RESOLVE trace logs. Used by GenerateJLIClassesPlugin to enable generation of such classes during the jlink phase. | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Returns the declaring class for the given ResolvedMethodName.
Used by | |
| getMethodType | back to summary |
|---|---|
| public MethodType getMethodType(String descriptor, ClassLoader loader) Returns the | |
| insertCoordinates | back to summary |
|---|---|
| public VarHandle insertCoordinates(VarHandle target, int pos, Object... values) Var handle insert coordinates combinator.
Used by | |
| isCallerSensitive | back to summary |
|---|---|
| public boolean isCallerSensitive(int flags) Returns true if the given flags has MN_CALLER_SENSITIVE flag set. | |
| isHiddenMember | back to summary |
|---|---|
| public boolean isHiddenMember(int flags) Returns true if the given flags has MN_HIDDEN_MEMBER flag set. | |
| memorySegmentViewHandle | back to summary |
|---|---|
| public VarHandle memorySegmentViewHandle(Class<?> carrier, MemoryLayout enclosing, long alignmentMask, ByteOrder order, boolean constantOffset, long offset) Returns a var handle view of a given memory segment.
Used by | |
| nativeMethodHandle | back to summary |
|---|---|
| public MethodHandle nativeMethodHandle(NativeEntryPoint nep) Returns a native method handle with given arguments as fallback and steering info. Will allow JIT to intrinsify.
| |
| permuteCoordinates | back to summary |
|---|---|
| public VarHandle permuteCoordinates(VarHandle target, List<Class<?>> newCoordinates, int... reorder) Var handle permute coordinates combinator.
Used by | |
| reflectiveInvoker | back to summary |
|---|---|
| public MethodHandle reflectiveInvoker(Class<?> caller) Returns a method handle of an invoker class injected for core reflection implementation with the following signature: reflect_invoke_V(MethodHandle mh, Object target, Object[] args) The invoker class is a hidden class which has the same defining class loader, runtime package, and protection domain as the given caller class. | |
| serializableConstructor | back to summary |
|---|---|
| public MethodHandle serializableConstructor(Class<?> decl, Constructor<?> ctorToCall) throws IllegalAccessException Returns a method handle that allocates an instance of the given class and then invoke the given constructor of one of its superclasses. This method should only be used by ReflectionFactory::newConstructorForSerialization. | |
| unreflectConstructor | back to summary |
|---|---|
| public MethodHandle unreflectConstructor(Constructor<?> ctor) throws IllegalAccessException Produces a method handle unreflecting from a | |
| unreflectField | back to summary |
|---|---|
| public MethodHandle unreflectField(Field field, boolean isSetter) throws IllegalAccessException Produces a method handle unreflecting from a | |