Package com.sun.tools.corba.se.idl
Class MethodEntry
java.lang.Object
com.sun.tools.corba.se.idl.SymtabEntry
com.sun.tools.corba.se.idl.MethodEntry
- Direct Known Subclasses:
AttributeEntry
This is the symbol table entry for methods.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedMethodEntry(InterfaceEntry that, IDLID clone) protectedMethodEntry(MethodEntry that) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContext(String context) voidaddException(ExceptionEntry exception) Add an exception to the exception list.voidaddExceptionName(String name) Add an exception name to the list of exception names.voidaddParameter(ParameterEntry parameter) Add a parameter to the parameter list.clone()This is a shallow copy clonecontexts()This is a vector of strings, each of which is the name of a context.This is a vector of strings, each of which is the full name of an exception which this method throws.This a a vector of the exceptions which this method raises.voidgenerate(Hashtable symbolTable, PrintWriter stream) Invoke the method generator.Access the method generator.booleanoneway()Is this a oneway method?voidoneway(boolean yes) Is this a oneway method?This is a vector of ParameterEntry's.voidtype(SymtabEntry newType) booleanIs this a value method?voidvalueMethod(boolean yes) Is this a value method?Methods inherited from class com.sun.tools.corba.se.idl.SymtabEntry
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, typeName, typeName
-
Constructor Details
-
MethodEntry
protected MethodEntry() -
MethodEntry
-
MethodEntry
-
-
Method Details
-
clone
Description copied from class:SymtabEntryThis is a shallow copy clone- Overrides:
clonein classSymtabEntry
-
generate
Invoke the method generator.- Overrides:
generatein classSymtabEntry- Parameters:
symbolTable- the symbol table is a hash table whose key is a fully qualified type name and whose value is a SymtabEntry or a subclass of SymtabEntry.stream- the stream to which the generator should sent its output.- See Also:
-
generator
Access the method generator.- Overrides:
generatorin classSymtabEntry- Returns:
- an object which implements the Generator interface.
- See Also:
-
type
- Overrides:
typein classSymtabEntry
-
addException
Add an exception to the exception list. -
exceptions
This a a vector of the exceptions which this method raises. -
addExceptionName
Add an exception name to the list of exception names. -
exceptionNames
This is a vector of strings, each of which is the full name of an exception which this method throws. This vector corresponds to the exceptions vector. The first element of this vector is the name of the first element of the exceptions vector, etc. -
addContext
-
contexts
This is a vector of strings, each of which is the name of a context. -
addParameter
Add a parameter to the parameter list. -
parameters
This is a vector of ParameterEntry's. They are the parameters on this method and their order in the vector is the order they appear on the method. -
oneway
public void oneway(boolean yes) Is this a oneway method? -
oneway
public boolean oneway()Is this a oneway method? -
valueMethod
public void valueMethod(boolean yes) Is this a value method? -
valueMethod
public boolean valueMethod()Is this a value method?
-