Java Code Examples for com.sun.tools.corba.se.idl.MethodEntry#comment()
The following examples show how to use
com.sun.tools.corba.se.idl.MethodEntry#comment() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MethodGen.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void localstub (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index, InterfaceEntry i) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeLocalStubBody (i); stream.println (" } // " + m.name ()); stream.println (); }
Example 2
Source File: MethodGen.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void skeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeSkeletonBody (); stream.println (" } // " + m.name ()); }
Example 3
Source File: MethodGen.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void stub (String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { localOptimization = ((Arguments)Compile.compiler.arguments).LocalOptimization; this.isAbstract = isAbstract; this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeStubBody ( className ); stream.println (" } // " + m.name ()); stream.println (); }
Example 4
Source File: MethodGen.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void stub (String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { localOptimization = ((Arguments)Compile.compiler.arguments).LocalOptimization; this.isAbstract = isAbstract; this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeStubBody ( className ); stream.println (" } // " + m.name ()); stream.println (); }
Example 5
Source File: MethodGen.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void localstub (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index, InterfaceEntry i) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeLocalStubBody (i); stream.println (" } // " + m.name ()); stream.println (); }
Example 6
Source File: MethodGen.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void stub (String className, boolean isAbstract, Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { localOptimization = ((Arguments)Compile.compiler.arguments).LocalOptimization; this.isAbstract = isAbstract; this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeStubBody ( className ); stream.println (" } // " + m.name ()); stream.println (); }
Example 7
Source File: MethodGen.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
/** * **/ protected void localstub (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index, InterfaceEntry i) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" public "); writeMethodSignature (); stream.println (); stream.println (" {"); writeLocalStubBody (i); stream.println (" } // " + m.name ()); stream.println (); }
Example 8
Source File: MethodGen24.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - write an abstract method definition **/ protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); stream.print ("public abstract "); writeMethodSignature (); stream.println (";"); stream.println (); }
Example 9
Source File: MethodGenClone24.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * d62023 - delete method templates for valuetypes **/ protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); writeMethodSignature (); stream.println (";"); }
Example 10
Source File: MethodGen24.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - write an abstract method definition **/ protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); stream.print ("public abstract "); writeMethodSignature (); stream.println (";"); stream.println (); }
Example 11
Source File: MethodGen.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate ("", stream); stream.print (" "); SymtabEntry container = (SymtabEntry)m.container (); boolean isAbstract = false; boolean valueContainer = false; if (container instanceof ValueEntry) { isAbstract = ((ValueEntry)container).isAbstract (); valueContainer = true; } if (valueContainer && !isAbstract) stream.print ("public "); writeMethodSignature (); if (valueContainer && !isAbstract) { stream.println (); stream.println (" {"); stream.println (" }"); stream.println (); } else stream.println (";"); }
Example 12
Source File: MethodGen24.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - write an abstract method definition **/ protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); stream.print ("public abstract "); writeMethodSignature (); stream.println (";"); stream.println (); }
Example 13
Source File: MethodGen.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate ("", stream); stream.print (" "); SymtabEntry container = (SymtabEntry)m.container (); boolean isAbstract = false; boolean valueContainer = false; if (container instanceof ValueEntry) { isAbstract = ((ValueEntry)container).isAbstract (); valueContainer = true; } if (valueContainer && !isAbstract) stream.print ("public "); writeMethodSignature (); if (valueContainer && !isAbstract) { stream.println (); stream.println (" {"); stream.println (" }"); stream.println (); } else stream.println (";"); }
Example 14
Source File: MethodGen.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate ("", stream); stream.print (" "); SymtabEntry container = (SymtabEntry)m.container (); boolean isAbstract = false; boolean valueContainer = false; if (container instanceof ValueEntry) { isAbstract = ((ValueEntry)container).isAbstract (); valueContainer = true; } if (valueContainer && !isAbstract) stream.print ("public "); writeMethodSignature (); if (valueContainer && !isAbstract) { stream.println (); stream.println (" {"); stream.println (" }"); stream.println (); } else stream.println (";"); }
Example 15
Source File: MethodGen.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void dispatchSkeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); writeDispatchCall (); }
Example 16
Source File: MethodGenClone24.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - delete method templates for valuetypes **/ protected void interfaceMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); writeMethodSignature (); stream.println (";"); }
Example 17
Source File: MethodGen.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void dispatchSkeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); writeDispatchCall (); }
Example 18
Source File: MethodGen.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * **/ protected void dispatchSkeleton (Hashtable symbolTable, MethodEntry m, PrintWriter stream, int index) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; this.methodIndex = index; if (m.comment () != null) m.comment ().generate (" ", stream); writeDispatchCall (); }
Example 19
Source File: MethodGen24.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - write an abstract method definition **/ protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); stream.print ("public abstract "); writeMethodSignature (); stream.println (";"); stream.println (); }
Example 20
Source File: MethodGenClone24.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * <d62023> - write an abstract method definition **/ protected void abstractMethod (Hashtable symbolTable, MethodEntry m, PrintWriter stream) { this.symbolTable = symbolTable; this.m = m; this.stream = stream; if (m.comment () != null) m.comment ().generate (" ", stream); stream.print (" "); stream.print ("public abstract "); writeMethodSignature (); stream.println (";"); stream.println (); }