Created
April 22, 2015 16:56
-
-
Save matlockx/29e031c92ddde1baa56a to your computer and use it in GitHub Desktop.
method hash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"sssabla".getClass.getDeclaredMethods.toList.foreach{m => val rootMethod = m.getClass.getDeclaredMethod("getRoot");rootMethod.setAccessible(true);println(m.setAccessible(true) + " " + System.identityHashCode(m) + " root: " + System.identityHashCode(rootMethod.invoke(m)) + " " + m)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment