I tried to use javap -v on the classfile, but there is no information about method parameter's access_flags as defined in jvm-4.7.24 .
Is there another tool or approach to show them?
I tried to use javap -v on the classfile, but there is no information about method parameter's access_flags as defined in jvm-4.7.24 .
Is there another tool or approach to show them?
Copyright © 2021 Jogjafile Inc.
It turns out that
MethodParametersdoesn't appear in classfile by default. I need to add-parametersoption tojavac. Once I add that option,javap -vshows parameter names and access_flags. see also:visitParameter of MethodVisitor is never called
Drawbacks of javac -parameters flag