diff options
author | Som Snytt <som.snytt@gmail.com> | 2012-12-07 02:04:37 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2012-12-07 14:38:56 -0800 |
commit | 2567da8390a4e09710a19f662bfcf81b58b3ec10 (patch) | |
tree | c30dd342ff69aa5ea9cf743c1a743c5b8a121d9d /test/files/neg | |
parent | 1fa4ad083d7dc55ce498389d935b38c5b974b793 (diff) | |
download | scala-2567da8390a4e09710a19f662bfcf81b58b3ec10.tar.gz scala-2567da8390a4e09710a19f662bfcf81b58b3ec10.tar.bz2 scala-2567da8390a4e09710a19f662bfcf81b58b3ec10.zip |
Support "javap -" for lastvar, move JavapTool into JavapClass.
The notation "javap -" is actually pretty handy, in particular
as a shorthand for javap resN.
JavapClass knows if it has an intp, for purposes of names and
for output; so the special tryClass impl is refactored to the
tool; the special handling for "-" as well. It just uses IMain
for withoutUnwrapping, so that method is unadded from ISettings.
(The tryClass/tryFile template methods are handy but maybe
passing a func to JavapClass.apply would be cleaner; similar
for writer output and whatever magic it enables.)
Diffstat (limited to 'test/files/neg')
0 files changed, 0 insertions, 0 deletions