Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement


jmt.codebase
Interface MethodParameters


public interface MethodParameters

Describes the parameter signature of a method (or a parameter block).

The parameter signature is characterised by the type of each parameter.

Author:
Martin Kersten
See Also:
Method, ClassFactory, AbstractMethodParameters

Method Summary
 int getCount()
          Returns the count of parameters.
 ClassReference getParameter(int index)
          Returns the type of the parameter with the given index.
 ClassReference[] getParameters()
          Returns an array containing the parameter types.
 

Method Detail

getCount

public int getCount()
Returns the count of parameters.

Returns:
int The count of parameters.

getParameter

public ClassReference getParameter(int index)
                            throws java.lang.IndexOutOfBoundsException
Returns the type of the parameter with the given index.

Parameters:
index - The index of the parameter
Returns:
The type of the parameter
Throws:
java.lang.IndexOutOfBoundsException - If the index is out of bounds.

getParameters

public ClassReference[] getParameters()
Returns an array containing the parameter types.

Returns:
An array containing the parameter types