protected static class RMIWrap.InterfaceWriter extends RMIWrap.WrapperBodyWriter
Writes foo.APIRemote from foo.API.
interfaceClass, interfaceName
Constructor and Description |
---|
RMIWrap.InterfaceWriter(java.lang.Class interfaceClass)
See superclass.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
classDeclExtra()
Extra stuff (e.g.
|
(package private) void |
processMethod(java.io.PrintWriter out,
java.lang.reflect.Method method)
Called by the default impl of
RMIWrap.WrapperBodyWriter.writeWrapperBody(java.io.PrintWriter) to process a
method of RMIWrap.WrapperBodyWriter.interfaceClass . |
writeDropoutHook, writeSignature, writeTypeUnwrap, writeTypeWrap, writeWrapperBody
RMIWrap.InterfaceWriter(java.lang.Class interfaceClass)
See superclass.
void processMethod(java.io.PrintWriter out, java.lang.reflect.Method method)
Called by the default impl of RMIWrap.WrapperBodyWriter.writeWrapperBody(java.io.PrintWriter)
to process a
method of RMIWrap.WrapperBodyWriter.interfaceClass
.
This impl RMIWrap.WrapperBodyWriter.writeSignature(java.io.PrintWriter, java.lang.reflect.Method, boolean, boolean)
as remote
.
processMethod
in class RMIWrap.WrapperBodyWriter
out
- where to writemethod
- the Method to processjava.lang.String classDeclExtra()
Extra stuff (e.g. extends and implements specs) that should be added at the end of the class declaration.
Default impl returns the empty string.
This impl returns " extends Remote".
classDeclExtra
in class RMIWrap.WrapperBodyWriter