< prev index next >

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

Print this page
*** 42,10 ***
--- 42,11 ---
  
  import java.lang.invoke.MethodHandles.Lookup;
  import java.lang.reflect.Array;
  import java.lang.reflect.Constructor;
  import java.lang.reflect.Field;
+ import java.lang.reflect.Method;
  import java.nio.ByteOrder;
  import java.util.Arrays;
  import java.util.Collections;
  import java.util.HashMap;
  import java.util.Iterator;

*** 1544,10 ***
--- 1545,15 ---
              @Override
              public Object newMemberName() {
                  return new MemberName();
              }
  
+             @Override
+             public Object newMemberName(Method method) {
+                 return new MemberName(method);
+             }
+ 
              @Override
              public String getName(Object mname) {
                  MemberName memberName = (MemberName)mname;
                  return memberName.getName();
              }
< prev index next >