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 Method

All Superinterfaces:
ClassElement, jmt.codebase.FieldOrMethod

public interface Method
extends jmt.codebase.FieldOrMethod

Describes the apsects of an analysed method belonging to a class or an interface.

Author:
Martin Kersten
See Also:
FieldOrMethod, ClassFactory, AbstractMethod

Method Summary
 java.util.Iterator getAttributes()
          Returns an iterator to iterate through the attached attributes.
 Modifier getModifier()
          Returns the modifier of the field or method.
 java.lang.String getName()
          Returns the name of the field or method.
 MethodParameters getParameters()
          Returns the parameter signature of the method.
 ClassReference getType()
          Returns the type of the field or method.
 boolean isConstructor()
          Returns true if the method is a constructor.
 
Methods inherited from interface jmt.codebase.ClassElement
getOwner
 

Method Detail

getParameters

public MethodParameters getParameters()
Returns the parameter signature of the method.

Returns:
The parameter signuature of the method

isConstructor

public boolean isConstructor()
Returns true if the method is a constructor. A constructor has the same name like the class it belongs to.


getAttributes

public java.util.Iterator getAttributes()
Returns an iterator to iterate through the attached attributes.

Returns:
The iterator to iterate through the attributes

getModifier

public Modifier getModifier()
Returns the modifier of the field or method.

Returns:
The modifier of the field or method

getName

public java.lang.String getName()
Returns the name of the field or method.

Returns:
The name of the field or method

getType

public ClassReference getType()
Returns the type of the field or method.

Returns:
The type of the field or method.