The IJavaMethod interface represents a method of a class.
interface IJavaMethod : IJavaMember
This interface defines the following members.
| Member | Description |
| AddFormal | Adds a new formal parameter to the method. |
| Body | Provides access to the block statement that makes up the body of the method. |
| Exceptions | A collection of the exceptions this method can throw. |
| FormalCount | Provides access to the count of the method's formal parameters. |
| FormalNameAt | Provides access to the name of one of the method's formal parameters. |
| FormalNames | Provides access to the method's list of formal parameter names. |
| FormalTypeAt | Provides access to the type of one of the method's formal parameters. |
| FormalTypes | Provides access to the method's list of formal parameter types. |
| GetBodyRange | Returns the range of text containing the method's block statement. |
| IsConstructor | Indicates whether the method is a constructor. |
| RemoveFormal | Removes a formal parameter from the method. |
| RemoveFormalAt | Removes a formal parameter from the method using the index. |