Class MethodGen24

java.lang.Object
com.sun.tools.corba.se.idl.toJavaPortable.MethodGen
com.sun.tools.corba.se.idl.toJavaPortable.MethodGen24
All Implemented Interfaces:
Generator, MethodGen

public class MethodGen24 extends MethodGen
  • Constructor Details

    • MethodGen24

      public MethodGen24()
      Public zero-argument constructor.
  • Method Details

    • writeParmList

      protected void writeParmList(MethodEntry m, boolean listTypes, PrintWriter stream)
      Print the parameter list for the factory method.
      Parameters:
      m - The method to list parameters for
      listTypes - If try, declare the parms, otherwise just list them
      stream - 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

      protected void abstractMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream)
      - write an abstract method definition
    • defaultFactoryMethod

      protected void defaultFactoryMethod(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.
    • writeMethodSignature

      protected void writeMethodSignature()
      - remove all valueInitializer junk
      Overrides:
      writeMethodSignature in class MethodGen
    • interfaceMethod

      protected void interfaceMethod(Hashtable symbolTable, MethodEntry m, PrintWriter stream)
      - delete method templates for valuetypes
      Overrides:
      interfaceMethod in class MethodGen