< prev index next >

src/java.base/share/classes/jdk/internal/reflect/Reflection.java

Print this page

        

@@ -361,8 +361,13 @@
         }
 
         return new IllegalAccessException(msg);
     }
 
+    /**
+     * Returns true if {@code currentClass} and {@code memberClass}
+     * are nestmates - that is, if they have the same nesthost as
+     * determined by the VM.
+     */
     public static native boolean areNestMates(Class<?> currentClass,
                                               Class<?> memberClass);
 }
< prev index next >