57 import com.sun.tools.corba.se.idl.ValueEntry; 58 import com.sun.tools.corba.se.idl.ValueBoxEntry; 59 import com.sun.tools.corba.se.idl.TypedefEntry; 60 import com.sun.tools.corba.se.idl.InterfaceState; 61 import com.sun.tools.corba.se.idl.PrimitiveEntry; 62 import com.sun.tools.corba.se.idl.StructEntry; 63 64 /** 65 * 66 **/ 67 public class MethodGenClone24 extends AttributeGen 68 { 69 /** 70 * Public zero-argument constructor. 71 **/ 72 public MethodGenClone24 () 73 { 74 } // ctor 75 76 /** 77 * <d62023> - write an abstract method definition 78 **/ 79 protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) 80 { 81 this.symbolTable = symbolTable; 82 this.m = m; 83 this.stream = stream; 84 if (m.comment () != null) 85 m.comment ().generate (" ", stream); 86 stream.print (" "); 87 stream.print ("public abstract "); 88 writeMethodSignature (); 89 stream.println (";"); 90 stream.println (); 91 } // abstractMethod 92 93 /** 94 * <d62023> - delete method templates for valuetypes 95 **/ 96 protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) 97 { 98 this.symbolTable = symbolTable; 99 this.m = m; 100 this.stream = stream; 101 if (m.comment () != null) 102 m.comment ().generate (" ", stream); 103 stream.print (" "); 104 writeMethodSignature (); 105 stream.println (";"); 106 } // interfaceMethod 107 } | 57 import com.sun.tools.corba.se.idl.ValueEntry; 58 import com.sun.tools.corba.se.idl.ValueBoxEntry; 59 import com.sun.tools.corba.se.idl.TypedefEntry; 60 import com.sun.tools.corba.se.idl.InterfaceState; 61 import com.sun.tools.corba.se.idl.PrimitiveEntry; 62 import com.sun.tools.corba.se.idl.StructEntry; 63 64 /** 65 * 66 **/ 67 public class MethodGenClone24 extends AttributeGen 68 { 69 /** 70 * Public zero-argument constructor. 71 **/ 72 public MethodGenClone24 () 73 { 74 } // ctor 75 76 /** 77 * d62023 - write an abstract method definition 78 **/ 79 protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) 80 { 81 this.symbolTable = symbolTable; 82 this.m = m; 83 this.stream = stream; 84 if (m.comment () != null) 85 m.comment ().generate (" ", stream); 86 stream.print (" "); 87 stream.print ("public abstract "); 88 writeMethodSignature (); 89 stream.println (";"); 90 stream.println (); 91 } // abstractMethod 92 93 /** 94 * d62023 - delete method templates for valuetypes 95 **/ 96 protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) 97 { 98 this.symbolTable = symbolTable; 99 this.m = m; 100 this.stream = stream; 101 if (m.comment () != null) 102 m.comment ().generate (" ", stream); 103 stream.print (" "); 104 writeMethodSignature (); 105 stream.println (";"); 106 } // interfaceMethod 107 } |