org.jacorb.idl
public class OpDecl extends Declaration implements Operation
Version: $Id: OpDecl.java,v 1.43 2006/08/03 08:01:14 alphonse.bendt Exp $
Field Summary | |
---|---|
IdlSymbol | myInterface |
static int | NO_ATTRIBUTE |
int | opAttribute |
TypeSpec | opTypeSpec |
static int | ONEWAY |
Vector | paramDecls |
RaisesExpr | raisesExpr |
Constructor Summary | |
---|---|
OpDecl(int num) | |
OpDecl(IdlSymbol myInterface, int opAttribute, TypeSpec opTypeSpec, String name, List paramDecls, RaisesExpr raisesExpr)
Constructs a new OpDecl with the given characteristics. | |
OpDecl(IdlSymbol myInterface, String name, List paramDecls)
Constructs a normal (not oneway) operation with void return type
and no raises-Expression. |
Method Summary | |
---|---|
void | accept(IDLTreeVisitor visitor) |
void | getIRInfo(Hashtable irInfoTable)
collect Interface Repository information in the argument hashtable |
String | name() |
String | opName() |
void | parse() |
void | print(PrintWriter ps) |
void | printDelegatedMethod(PrintWriter ps) |
void | printInvocation(PrintWriter ps) |
void | printMethod(PrintWriter ps, String classname, boolean is_local, boolean is_abstract) |
void | printSignature(PrintWriter ps) |
void | printSignature(PrintWriter ps, boolean printModifiers) |
void | printStreamBody(PrintWriter ps, String classname, String idl_name, boolean is_local, boolean is_abstract)
Writes the Stream-based Body of the Method for the stub |
void | print_sendc_Method(PrintWriter ps, String classname) |
void | setEnclosingSymbol(IdlSymbol s) |
void | setPackage(String s) |
String | signature() |
Parameters: printModifiers whether "public abstract" should be added