Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javap support for synthetics would be nice #6894

scabug opened this issue Dec 30, 2012 · 2 comments


None yet
2 participants
Copy link

commented Dec 30, 2012

It would be nice if I could ask the repl to javap synthetic artifacts using less than the raw name.

It's possible to do the raw name, by javap -raw Foo to see what the raw names are, and then pasting.

One easy shortcut is to support javap -app Test to mean show me Test$delayedInit$body.

Maybe there are similar mnemonics for anonfuns.


This comment has been minimized.

Copy link

commented Dec 30, 2012

Imported From:
Reporter: @som-snytt
Affected Versions: 2.11.0-M1


This comment has been minimized.

Copy link

commented Jan 12, 2013

@som-snytt said (edited on Jan 12, 2013 1:48:34 AM UTC):
Also, Foo#bar filters for member bar, and -fun Foo#bar shows anonfuns pertaining to bar, while -fun Foo# shows all funs for Foo but filters for apply (since that is often the member of interest). -app Test# shows the apply of the DelayedInit, i.e., the init code proper. After a def m, javap #m shows only m.


@scabug scabug closed this Jan 12, 2013

@scabug scabug added this to the 2.11.0-M2 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.