Class Stub

  • All Implemented Interfaces:
    AuxGen

    public class Stub
    extends java.lang.Object
    implements AuxGen
    • Field Detail

      • symbolTable

        protected java.util.Hashtable symbolTable
      • stream

        protected java.io.PrintWriter stream
      • methodList

        protected java.util.Vector<MethodEntry> methodList
      • classSuffix

        protected java.lang.String classSuffix
      • localStub

        protected boolean localStub
      • isAbstract

        private boolean isAbstract
    • Constructor Detail

      • Stub

        public Stub()
        Public zero-argument constructor.
    • Method Detail

      • generate

        public void generate​(java.util.Hashtable symbolTable,
                             SymtabEntry entry)
        Specified by:
        generate in interface AuxGen
      • init

        protected void init()
        Initialize unique members of this generator.
      • openStream

        protected void openStream()
      • writeHeading

        protected void writeHeading()
      • writeClassDeclaration

        protected void writeClassDeclaration()
      • writeBody

        protected void writeBody()
        Steps done within writeBody include: 1.) makeCtors (); 2.) buildMethodList (); 3.) makeMethods (); 4.) makeCORBAObjectMethods ()
      • writeClosing

        protected void writeClosing()
      • closeStream

        protected void closeStream()
      • writeCtors

        protected void writeCtors()
      • buildMethodList

        protected void buildMethodList()
        Build a list of all of the methods, keeping out duplicates.
      • buildMethodList

        private void buildMethodList​(InterfaceEntry entry)
      • addMethod

        private void addMethod​(MethodEntry method)
      • writeMethods

        protected void writeMethods()
      • buildIDList

        private void buildIDList​(InterfaceEntry entry,
                                 java.util.Vector<java.lang.String> list)
      • writeIDs

        private void writeIDs()
      • writeCORBAObjectMethods

        protected void writeCORBAObjectMethods()
      • writeSerializationMethods

        protected void writeSerializationMethods()