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.application.measurement
Interface MethodStructure


public interface MethodStructure

MethodStructur of a class or a class hierachy.

The methods are organized within there names. Methods with the same names are grouped in a MethodGroup. Methods with private modifiers are not added to the method structur.

Note: Constructors are not added because they are not methods in a more special meaning.


Method Summary
 MethodGroup get(Method method)
          Returns the MethodGroup the method will be in.
 MethodGroup get(java.lang.String name)
          Returns the MethodGroup with the given name.
 int getMethodCount()
          Returns the method count counting every method added to any group.
 java.util.Iterator iterator()
          Returns the iterator for the method groups.
 

Method Detail

iterator

public java.util.Iterator iterator()
Returns the iterator for the method groups. The remove method is not supported.

Returns:
The iterator for the method groups

get

public MethodGroup get(java.lang.String name)
Returns the MethodGroup with the given name. Note: Constructors are added using the MethodStructure.NAME_CONSTRUCTOR name.

Parameters:
name - The name of the group
Returns:
The method group with the given name, null if none.

get

public MethodGroup get(Method method)
Returns the MethodGroup the method will be in.

Returns:
The method group with the given name, null if none.

getMethodCount

public int getMethodCount()
Returns the method count counting every method added to any group.