corba/src/share/classes/com/sun/tools/corba/se/idl/Noop.java
author ohair
Tue, 25 May 2010 15:52:11 -0700
changeset 5555 b2b5ed3f0d0d
parent 4 02bb8761fcce
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     1
/*
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     2
 * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
02bb8761fcce Initial load
duke
parents:
diff changeset
     4
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
02bb8761fcce Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
4
02bb8761fcce Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    10
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
02bb8761fcce Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
02bb8761fcce Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
02bb8761fcce Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
02bb8761fcce Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
02bb8761fcce Initial load
duke
parents:
diff changeset
    16
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
02bb8761fcce Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
02bb8761fcce Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
02bb8761fcce Initial load
duke
parents:
diff changeset
    20
 *
5555
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
b2b5ed3f0d0d 6943119: Rebrand source copyright notices
ohair
parents: 4
diff changeset
    23
 * questions.
4
02bb8761fcce Initial load
duke
parents:
diff changeset
    24
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    25
/*
02bb8761fcce Initial load
duke
parents:
diff changeset
    26
 * COMPONENT_NAME: idl.parser
02bb8761fcce Initial load
duke
parents:
diff changeset
    27
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    28
 * ORIGINS: 27
02bb8761fcce Initial load
duke
parents:
diff changeset
    29
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    30
 * Licensed Materials - Property of IBM
02bb8761fcce Initial load
duke
parents:
diff changeset
    31
 * 5639-D57 (C) COPYRIGHT International Business Machines Corp. 1997, 1999
02bb8761fcce Initial load
duke
parents:
diff changeset
    32
 * RMI-IIOP v1.0
02bb8761fcce Initial load
duke
parents:
diff changeset
    33
 *
02bb8761fcce Initial load
duke
parents:
diff changeset
    34
 */
02bb8761fcce Initial load
duke
parents:
diff changeset
    35
02bb8761fcce Initial load
duke
parents:
diff changeset
    36
package com.sun.tools.corba.se.idl;
02bb8761fcce Initial load
duke
parents:
diff changeset
    37
02bb8761fcce Initial load
duke
parents:
diff changeset
    38
// NOTES:
02bb8761fcce Initial load
duke
parents:
diff changeset
    39
02bb8761fcce Initial load
duke
parents:
diff changeset
    40
import java.io.PrintWriter;
02bb8761fcce Initial load
duke
parents:
diff changeset
    41
import java.util.Hashtable;
02bb8761fcce Initial load
duke
parents:
diff changeset
    42
02bb8761fcce Initial load
duke
parents:
diff changeset
    43
import com.sun.tools.corba.se.idl.constExpr.ExprFactory;
02bb8761fcce Initial load
duke
parents:
diff changeset
    44
02bb8761fcce Initial load
duke
parents:
diff changeset
    45
public class Noop implements
02bb8761fcce Initial load
duke
parents:
diff changeset
    46
   AttributeGen,    ConstGen,   EnumGen,      ExceptionGen, ForwardGen,
02bb8761fcce Initial load
duke
parents:
diff changeset
    47
   ForwardValueGen, IncludeGen, InterfaceGen, ValueGen,     ValueBoxGen,
02bb8761fcce Initial load
duke
parents:
diff changeset
    48
   MethodGen,       ModuleGen,  NativeGen, ParameterGen, PragmaGen,
02bb8761fcce Initial load
duke
parents:
diff changeset
    49
   PrimitiveGen, SequenceGen,     StringGen,  StructGen,    TypedefGen,
02bb8761fcce Initial load
duke
parents:
diff changeset
    50
   UnionGen, GenFactory
02bb8761fcce Initial load
duke
parents:
diff changeset
    51
{
02bb8761fcce Initial load
duke
parents:
diff changeset
    52
  public void generate (Hashtable symbolTable, AttributeEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    53
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    54
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    55
02bb8761fcce Initial load
duke
parents:
diff changeset
    56
  public void generate (Hashtable symbolTable, ConstEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    57
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    58
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    59
02bb8761fcce Initial load
duke
parents:
diff changeset
    60
  public void generate (Hashtable symbolTable, EnumEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    61
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    62
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    63
02bb8761fcce Initial load
duke
parents:
diff changeset
    64
  public void generate (Hashtable symbolTable, ExceptionEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    65
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    66
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    67
02bb8761fcce Initial load
duke
parents:
diff changeset
    68
  public void generate (Hashtable symbolTable, ForwardEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    69
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    70
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    71
02bb8761fcce Initial load
duke
parents:
diff changeset
    72
  public void generate (Hashtable symbolTable, ForwardValueEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    73
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    74
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    75
02bb8761fcce Initial load
duke
parents:
diff changeset
    76
  public void generate (Hashtable symbolTable, IncludeEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    77
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    78
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    79
02bb8761fcce Initial load
duke
parents:
diff changeset
    80
  public void generate (Hashtable symbolTable, InterfaceEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    81
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    82
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    83
02bb8761fcce Initial load
duke
parents:
diff changeset
    84
  public void generate (Hashtable symbolTable, ValueEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    85
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    86
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    87
02bb8761fcce Initial load
duke
parents:
diff changeset
    88
  public void generate (Hashtable symbolTable, ValueBoxEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    89
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    90
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    91
02bb8761fcce Initial load
duke
parents:
diff changeset
    92
  public void generate (Hashtable symbolTable, MethodEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    93
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    94
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    95
02bb8761fcce Initial load
duke
parents:
diff changeset
    96
  public void generate (Hashtable symbolTable, ModuleEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
    97
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
    98
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
    99
02bb8761fcce Initial load
duke
parents:
diff changeset
   100
  public void generate (Hashtable symbolTable, ParameterEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   101
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   102
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   103
02bb8761fcce Initial load
duke
parents:
diff changeset
   104
  public void generate (Hashtable symbolTable, PragmaEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   105
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   106
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   107
02bb8761fcce Initial load
duke
parents:
diff changeset
   108
  public void generate (Hashtable symbolTable, PrimitiveEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   109
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   110
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   111
02bb8761fcce Initial load
duke
parents:
diff changeset
   112
  public void generate (Hashtable symbolTable, SequenceEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   113
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   114
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   115
02bb8761fcce Initial load
duke
parents:
diff changeset
   116
  public void generate (Hashtable symbolTable, StringEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   117
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   118
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   119
02bb8761fcce Initial load
duke
parents:
diff changeset
   120
  public void generate (Hashtable symbolTable, StructEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   121
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   122
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   123
02bb8761fcce Initial load
duke
parents:
diff changeset
   124
  public void generate (Hashtable symbolTable, TypedefEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   125
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   126
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   127
02bb8761fcce Initial load
duke
parents:
diff changeset
   128
  public void generate (Hashtable symbolTable, UnionEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   129
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   130
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   131
02bb8761fcce Initial load
duke
parents:
diff changeset
   132
  public void generate (Hashtable symbolTable, NativeEntry entry, PrintWriter stream)
02bb8761fcce Initial load
duke
parents:
diff changeset
   133
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   134
  } // generate
02bb8761fcce Initial load
duke
parents:
diff changeset
   135
02bb8761fcce Initial load
duke
parents:
diff changeset
   136
  // For GenFactory
02bb8761fcce Initial load
duke
parents:
diff changeset
   137
  public AttributeGen createAttributeGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   138
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   139
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   140
  } // createAttributeGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   141
02bb8761fcce Initial load
duke
parents:
diff changeset
   142
  public ConstGen createConstGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   143
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   144
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   145
  } // createConstGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   146
02bb8761fcce Initial load
duke
parents:
diff changeset
   147
  public EnumGen createEnumGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   148
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   149
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   150
  } // createEnumGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   151
02bb8761fcce Initial load
duke
parents:
diff changeset
   152
  public ExceptionGen createExceptionGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   153
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   154
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   155
  } // createExceptionGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   156
02bb8761fcce Initial load
duke
parents:
diff changeset
   157
  public ForwardGen createForwardGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   158
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   159
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   160
  } // createForwardGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   161
02bb8761fcce Initial load
duke
parents:
diff changeset
   162
  public ForwardValueGen createForwardValueGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   163
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   164
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   165
  } // createForwardValueGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   166
02bb8761fcce Initial load
duke
parents:
diff changeset
   167
  public IncludeGen createIncludeGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   168
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   169
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   170
  } // createIncludeGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   171
02bb8761fcce Initial load
duke
parents:
diff changeset
   172
  public InterfaceGen createInterfaceGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   173
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   174
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   175
  } // createInterfaceGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   176
02bb8761fcce Initial load
duke
parents:
diff changeset
   177
  public ValueGen createValueGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   178
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   179
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   180
  } // createValueGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   181
02bb8761fcce Initial load
duke
parents:
diff changeset
   182
  public ValueBoxGen createValueBoxGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   183
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   184
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   185
  } // createValueBoxGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   186
02bb8761fcce Initial load
duke
parents:
diff changeset
   187
  public MethodGen createMethodGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   188
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   189
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   190
  } // createMethodGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   191
02bb8761fcce Initial load
duke
parents:
diff changeset
   192
  public ModuleGen createModuleGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   193
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   194
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   195
  } // createModuleGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   196
02bb8761fcce Initial load
duke
parents:
diff changeset
   197
  public NativeGen createNativeGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   198
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   199
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   200
  } // createNativeGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   201
02bb8761fcce Initial load
duke
parents:
diff changeset
   202
  public ParameterGen createParameterGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   203
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   204
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   205
  } // createParameterGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   206
02bb8761fcce Initial load
duke
parents:
diff changeset
   207
  public PragmaGen createPragmaGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   208
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   209
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   210
  } // createPragmaGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   211
02bb8761fcce Initial load
duke
parents:
diff changeset
   212
  public PrimitiveGen createPrimitiveGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   213
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   214
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   215
  } // createPrimitiveGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   216
02bb8761fcce Initial load
duke
parents:
diff changeset
   217
  public SequenceGen createSequenceGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   218
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   219
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   220
  } // createSequenceGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   221
02bb8761fcce Initial load
duke
parents:
diff changeset
   222
  public StringGen createStringGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   223
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   224
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   225
  } // createStringGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   226
02bb8761fcce Initial load
duke
parents:
diff changeset
   227
  public StructGen createStructGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   228
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   229
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   230
  } // createStructGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   231
02bb8761fcce Initial load
duke
parents:
diff changeset
   232
  public TypedefGen createTypedefGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   233
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   234
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   235
  } // createTypedefGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   236
02bb8761fcce Initial load
duke
parents:
diff changeset
   237
  public UnionGen createUnionGen ()
02bb8761fcce Initial load
duke
parents:
diff changeset
   238
  {
02bb8761fcce Initial load
duke
parents:
diff changeset
   239
    return null;
02bb8761fcce Initial load
duke
parents:
diff changeset
   240
  } // createUnionGen
02bb8761fcce Initial load
duke
parents:
diff changeset
   241
} // class Noop