Use this tag for questions regarding MethodHandle/MethodHandles Java classes from java.lang.invoke API.
MethodHandle is a Java class which is an essential part of java.lang.invoke API. It allows to create executable references to existing methods (like it's done via reflection) and constructors, as well as generate new handlers on the fly (for example field getters/setters, bind arguments of existing MethodHandle and so on). Unlike reflection, MethodHandles have consistent security model which allows to control the access to non-public methods.
MethodHandle
exists since java-7.
API docs (Java-9):
MethodHandle
class itself.MethodHandles
utility class which is usually a starting point of usingMethodHandle
.java.lang.invoke
package.