< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangInvokeAccess.java

Print this page
@@ -28,10 +28,11 @@
  import jdk.internal.invoke.NativeEntryPoint;
  
  import java.lang.invoke.MethodHandle;
  import java.lang.invoke.MethodType;
  import java.lang.invoke.VarHandle;
+ import java.lang.reflect.Field;
  import java.nio.ByteOrder;
  import java.util.List;
  import java.util.Map;
  import java.util.stream.Stream;
  

@@ -137,6 +138,10 @@
       * Ensure given method handle is customized
       *
       * @param mh the method handle
       */
      void ensureCustomized(MethodHandle mh);
+ 
+     MethodHandle findStatic(Class<?> cls, String name, MethodType methodType) throws NoSuchMethodException, IllegalAccessException;
+ 
+     MethodHandle unreflectGetter(Field field) throws IllegalAccessException;
  }
< prev index next >