Skip to content

Tag: javap

grep method appears in class file but not in its human dump

I’m grepping for a method getNumBytes in some class file A.class: When I dump its content with javap I can’t see my method: Here is a complete minimal example: Answer UPDATE I’m on Windows, and it runs fine. I believe Thomas Kl├Ąger is correct that this is a shell issue: Its probably because of the $Companion in the class name.