Class MethodGen24
java.lang.Object
com.sun.tools.corba.se.idl.toJavaPortable.MethodGen
com.sun.tools.corba.se.idl.toJavaPortable.MethodGen24
-
Field Summary
Fields inherited from class com.sun.tools.corba.se.idl.toJavaPortable.MethodGen
isAbstract, localOptimization, m, methodIndex, realName, stream, symbolTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidabstractMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream) - write an abstract method definition protected voiddefaultFactoryMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream) - write a default factory method implementation for the DefaultFactory. m is a methodEntry for a factory method contained in a non-abstract ValueEntry. protected voidhelperFactoryMethod(Hashtable symbolTable, MethodEntry m, SymtabEntry t, PrintWriter stream) Write the methodEntry for a valuetype factory method into the Value Helper class. protected voidinterfaceMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream) - delete method templates for valuetypes protected void- remove all valueInitializer junk protected voidwriteParmList(MethodEntry m, boolean listTypes, PrintWriter stream) Print the parameter list for the factory method.Methods inherited from class com.sun.tools.corba.se.idl.toJavaPortable.MethodGen
dispatchSkeleton, generate, isValueInitializer, localstub, passType, serverMethodName, skeleton, stub, writeCreateReply, writeDispatchCall, writeLocalStubBody, writeMethodCall, writeParmType, writeStubBody
-
Constructor Details
-
MethodGen24
public MethodGen24()Public zero-argument constructor.
-
-
Method Details
-
writeParmList
Print the parameter list for the factory method.- Parameters:
m- The method to list parameters forlistTypes- If try, declare the parms, otherwise just list themstream- The PrintWriter to print on
-
helperFactoryMethod
protected void helperFactoryMethod(Hashtable symbolTable, MethodEntry m, SymtabEntry t, PrintWriter stream) Write the methodEntry for a valuetype factory method into the Value Helper class. Contents from email from Simon, 4/25/99. -
abstractMethod
- write an abstract method definition -
defaultFactoryMethod
- write a default factory method implementation for the DefaultFactory. m is a methodEntry for a factory method contained in a non-abstract ValueEntry. -
writeMethodSignature
protected void writeMethodSignature()- remove all valueInitializer junk - Overrides:
writeMethodSignaturein classMethodGen
-
interfaceMethod
- delete method templates for valuetypes - Overrides:
interfaceMethodin classMethodGen
-