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

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

javap support for synthetics would be nice #6894

scabug opened this issue Dec 30, 2012 · 2 comments
Assignees
Milestone

Comments

@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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants