I’m not sure what you mean - it should work for all java libraries that were compiled with -parameters
. Unfortunately the Java standard library is not compiled with that flag, as far as I can tell
> unzip -d . -j /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/rt.jar java/lang/String.class
> javap -v -classpath . String | grep MethodParameters -C 2
Warning: Binary file String contains java.lang.String
>
> javap -v -classpath . A | grep MethodParameters -C 2
#8 = Utf8 flup
#9 = Utf8 (I)I
#10 = Utf8 MethodParameters
#11 = Utf8 fancy
#12 = Utf8 SourceFile
--
--
LineNumberTable:
line 2: 0
MethodParameters:
Name Flags
fancy
>