org.jacorb.idl

Class Method

public class Method extends Object implements Operation

Version: $Id: Method.java,v 1.20 2006/10/13 20:01:01 andre.spiegel Exp $ This class is used to represent accessor operations

Author: Gerald Brose

Field Summary
TypeSpecparameterType
TypeSpecresultType
Constructor Summary
Method(TypeSpec res, TypeSpec params, String name, RaisesExpr raisesExpr, boolean pseudo)
Method Summary
voidaccept(IDLTreeVisitor visitor)
booleanisGetter()
Stringname()
StringopName()
voidprintDelegatedMethod(PrintWriter ps)
voidprintInvocation(PrintWriter ps)
modifier
voidprintMethod(PrintWriter ps, String classname, boolean is_local, boolean is_abstract)
voidprintSignature(PrintWriter ps)
voidprintSignature(PrintWriter ps, boolean printModifiers)
voidprint_sendc_Method(PrintWriter ps, String classname)
modifier
Stringsignature()

Field Detail

parameterType

public TypeSpec parameterType

resultType

public TypeSpec resultType

Constructor Detail

Method

public Method(TypeSpec res, TypeSpec params, String name, RaisesExpr raisesExpr, boolean pseudo)

Method Detail

accept

public void accept(IDLTreeVisitor visitor)

isGetter

public boolean isGetter()

name

public String name()

opName

public String opName()

printDelegatedMethod

public void printDelegatedMethod(PrintWriter ps)

printInvocation

public void printInvocation(PrintWriter ps)
modifier

printMethod

public void printMethod(PrintWriter ps, String classname, boolean is_local, boolean is_abstract)

printSignature

public void printSignature(PrintWriter ps)

printSignature

public void printSignature(PrintWriter ps, boolean printModifiers)

Parameters: printModifiers whether "public abstract" should be added

print_sendc_Method

public void print_sendc_Method(PrintWriter ps, String classname)
modifier

signature

public String signature()