< prev index next >

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

Print this page

        

*** 39,48 **** --- 39,49 ---- import sun.invoke.util.ValueConversions; import sun.invoke.util.VerifyType; import sun.invoke.util.Wrapper; import java.lang.reflect.Array; + import java.lang.reflect.Method; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.List;
*** 1731,1740 **** --- 1732,1746 ---- 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(); } @Override
< prev index next >