Let's teach GenReceiverTask to cope with inner classes the same way

GenServiceTask already does.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5643 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Dave Hoover
2009-01-27 01:45:19 +00:00
parent a3d08aaa2d
commit ef4ee0ac1e
2 changed files with 4 additions and 1 deletions
@@ -28,7 +28,7 @@ import static com.threerings.presents.Log.log;
*/
public abstract class InvocationDecoder
{
/** The receiver for which we're decoding and dipatching notifications. */
/** The receiver for which we're decoding and dispatching notifications. */
public InvocationReceiver receiver;
/**
@@ -79,6 +79,9 @@ public class GenReceiverTask extends InvocationTask
}
methods.sort();
// import Foo instead of Foo$Bar
imports.swapInnerClassesForParents();
// Adjust any bits that want to import arrays to instead import their element classes.
imports.translateClassArrays();
imports.removeArrays();