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

Closed
scabug opened this Issue Dec 30, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug 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.

@scabug

This comment has been minimized.

Copy link

scabug commented Dec 30, 2012

Imported From: https://issues.scala-lang.org/browse/SI-6894?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.0-M1

@scabug

This comment has been minimized.

Copy link

scabug 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.

scala/scala#1849
scala/scala#1880

@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