@FunctionalInterface public interface GuardedInvocationTransformer
pre-link transformers
.Modifier and Type | Method | Description |
---|---|---|
GuardedInvocation |
filter |
Given a guarded invocation, return either the same or potentially different guarded invocation. |
GuardedInvocation filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)
inv
- the original guarded invocation.linkRequest
- the link request for which the invocation was generated (usually by some linker).linkerServices
- the linker services that can be used during creation of a new invocation.null
is an accepted return value is dependent on the user of the filter.NullPointerException
- is allowed to be thrown by implementations if any of the passed arguments is null.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.dynalink/jdk/dynalink/linker/GuardedInvocationTransformer.html