< prev index next >

src/java.base/share/classes/java/lang/invoke/MethodHandleInfo.java

Print this page

        

*** 41,51 **** * The method, constructor, or field referred to by a direct method handle is called * its <em>underlying member</em>. * Direct method handles may be obtained in any of these ways: * <ul> * <li>By executing an {@code ldc} instruction on a {@code CONSTANT_MethodHandle} constant. ! * (See the Java Virtual Machine Specification, sections 4.4.8 and 5.4.3.) * <li>By calling one of the <a href="MethodHandles.Lookup.html#lookups">Lookup Factory Methods</a>, * such as {@link Lookup#findVirtual Lookup.findVirtual}, * to resolve a symbolic reference into a method handle. * A symbolic reference consists of a class, name string, and type. * <li>By calling the factory method {@link Lookup#unreflect Lookup.unreflect} --- 41,51 ---- * The method, constructor, or field referred to by a direct method handle is called * its <em>underlying member</em>. * Direct method handles may be obtained in any of these ways: * <ul> * <li>By executing an {@code ldc} instruction on a {@code CONSTANT_MethodHandle} constant. ! * (See the Java Virtual Machine Specification, sections {@jvms 4.4.8} and {@jvms 5.4.3}.) * <li>By calling one of the <a href="MethodHandles.Lookup.html#lookups">Lookup Factory Methods</a>, * such as {@link Lookup#findVirtual Lookup.findVirtual}, * to resolve a symbolic reference into a method handle. * A symbolic reference consists of a class, name string, and type. * <li>By calling the factory method {@link Lookup#unreflect Lookup.unreflect}
< prev index next >