< prev index next >

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

Print this page

        

@@ -113,6 +113,9 @@
     /** Makes a "child" copy of a Field */
     public Field       copyField(Field arg);
 
     /** Makes a "child" copy of a Constructor */
     public <T> Constructor<T> copyConstructor(Constructor<T> arg);
+
+    /** Gets the root of the given AccessibleObject object; null if arg is the root */
+    public <T extends AccessibleObject> T getRoot(T obj);
 }
< prev index next >