public class MethodEntry extends SymtabEntry
| Modifier | Constructor and Description |
|---|---|
protected |
MethodEntry() |
protected |
MethodEntry(InterfaceEntry that,
IDLID clone) |
protected |
MethodEntry(MethodEntry that) |
| Modifier and Type | Method and Description |
|---|---|
void |
addContext(String context) |
void |
addException(ExceptionEntry exception)
Add an exception to the exception list.
|
void |
addExceptionName(String name)
Add an exception name to the list of exception names.
|
void |
addParameter(ParameterEntry parameter)
Add a parameter to the parameter list.
|
Object |
clone()
This is a shallow copy clone
|
Vector |
contexts()
This is a vector of strings, each of which is the name of a context.
|
Vector |
exceptionNames()
This is a vector of strings, each of which is the full name of an
exception which this method throws.
|
Vector |
exceptions()
This a a vector of the exceptions which this method raises.
|
void |
generate(Hashtable symbolTable,
PrintWriter stream)
Invoke the method generator.
|
Generator |
generator()
Access the method generator.
|
boolean |
oneway()
Is this a oneway method?
|
void |
oneway(boolean yes)
Is this a oneway method?
|
Vector |
parameters()
This is a vector of ParameterEntry's.
|
void |
type(SymtabEntry newType) |
boolean |
valueMethod()
Is this a value method?
|
void |
valueMethod(boolean yes)
Is this a value method?
|
comment, comment, container, container, dynamicVariable, dynamicVariable, emit, emit, fullName, getVariableKey, isReferencable, isReferencable, module, module, name, name, repositoryID, repositoryID, sourceFile, sourceFile, type, typeName, typeNameprotected MethodEntry()
protected MethodEntry(MethodEntry that)
protected MethodEntry(InterfaceEntry that, IDLID clone)
public Object clone()
SymtabEntryclone in class SymtabEntrypublic void generate(Hashtable symbolTable, PrintWriter stream)
generate in class SymtabEntrysymbolTable - 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.SymtabEntrypublic Generator generator()
generator in class SymtabEntryMethodGenpublic void type(SymtabEntry newType)
type in class SymtabEntrypublic void addException(ExceptionEntry exception)
public Vector exceptions()
public void addExceptionName(String name)
public Vector exceptionNames()
public void addContext(String context)
public Vector contexts()
public void addParameter(ParameterEntry parameter)
public Vector parameters()
public void oneway(boolean yes)
public boolean oneway()
public void valueMethod(boolean yes)
public boolean valueMethod()
Copyright © 2018 JBoss by Red Hat. All rights reserved.