org.jacorb.idl
Class Method
java.lang.Object
org.jacorb.idl.Method
- All Implemented Interfaces:
- Operation
public class Method
- extends Object
- implements Operation
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultType
public TypeSpec resultType
parameterType
public TypeSpec parameterType
Method
public Method(TypeSpec res,
TypeSpec params,
String name,
RaisesExpr raisesExpr,
boolean pseudo)
isGetter
public boolean isGetter()
name
public String name()
- Description copied from interface:
Operation
name gives the plain name of the operation
- Specified by:
name in interface Operation
- Returns:
- a
String value
opName
public String opName()
- Description copied from interface:
Operation
opName gives the mangled name in case of attributes
(_get_, _set_).
- Specified by:
opName in interface Operation
- Returns:
- a
String value
signature
public String signature()
- Specified by:
signature in interface Operation
printSignature
public void printSignature(PrintWriter ps)
- Specified by:
printSignature in interface Operation
printSignature
public void printSignature(PrintWriter ps,
boolean printModifiers)
- Specified by:
printSignature in interface Operation
- Parameters:
printModifiers - whether "public abstract" should be added
printMethod
public void printMethod(PrintWriter ps,
String classname,
boolean is_local,
boolean is_abstract)
- Description copied from interface:
Operation
printMethod produces the method code for stubs.
- Specified by:
printMethod in interface Operation
- Parameters:
ps - a PrintWriter valueclassname - a String valueis_local - a boolean valueis_abstract - a boolean value used by Interface to
denote an abstract.
print_sendc_Method
public void print_sendc_Method(PrintWriter ps,
String classname)
- Specified by:
print_sendc_Method in interface Operation
printDelegatedMethod
public void printDelegatedMethod(PrintWriter ps)
- Description copied from interface:
Operation
- Method code for skeletons
- Specified by:
printDelegatedMethod in interface Operation
- Parameters:
ps - a PrintWriter value
printInvocation
public void printInvocation(PrintWriter ps)
- Specified by:
printInvocation in interface Operation
accept
public void accept(IDLTreeVisitor visitor)
- Specified by:
accept in interface Operation
Copyright © 2012 JacORB. All Rights Reserved.