IJavaMethod Interface

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 comprises 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 prameter from the method.
RemoveFormalAt Removes a formal parameter from the method using the index.