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:
@@ -28,7 +28,7 @@ import static com.threerings.presents.Log.log;
|
|||||||
*/
|
*/
|
||||||
public abstract class InvocationDecoder
|
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;
|
public InvocationReceiver receiver;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -79,6 +79,9 @@ public class GenReceiverTask extends InvocationTask
|
|||||||
}
|
}
|
||||||
methods.sort();
|
methods.sort();
|
||||||
|
|
||||||
|
// import Foo instead of Foo$Bar
|
||||||
|
imports.swapInnerClassesForParents();
|
||||||
|
|
||||||
// Adjust any bits that want to import arrays to instead import their element classes.
|
// Adjust any bits that want to import arrays to instead import their element classes.
|
||||||
imports.translateClassArrays();
|
imports.translateClassArrays();
|
||||||
imports.removeArrays();
|
imports.removeArrays();
|
||||||
|
|||||||
Reference in New Issue
Block a user