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 ClassElements
- public interface ClassElements
Describes a collection of various class elements like fields and methods.
This type is used as a part for the ClassOrInterface type.
- See Also:
ClassOrInterface,
ClassFactory,
AbstractMutableClassElements
|
Method Summary |
Field |
getField(java.lang.String name)
Returns the field of the class with the given name or null if none. |
int |
getFieldCount()
Returns the number of fields. |
java.util.Iterator |
getFields()
Returns a iterator to iterate through the fields of the class. |
Method |
getMethod(java.lang.String name,
MethodParameters parameters)
Returns the method of the class with the given name and the given
parameter signature. |
int |
getMethodCount()
Returns the number of methods. |
java.util.Iterator |
getMethods()
Returns a iterator to iterate through the methods of the class. |
getField
public Field getField(java.lang.String name)
- Returns the field of the class with the given name or null if none.
- Parameters:
name - The name of the field
- Returns:
- The field of the class otherwise null
getFields
public java.util.Iterator getFields()
- Returns a iterator to iterate through the fields of the class.
- Returns:
- The iterator to iterate through the fields
getFieldCount
public int getFieldCount()
- Returns the number of fields.
- Returns:
- The number of fields
getMethod
public Method getMethod(java.lang.String name,
MethodParameters parameters)
- Returns the method of the class with the given name and the given
parameter signature.
- Parameters:
name - String the name of the methodparameters - MethodParameters the parameters of the method
- Returns:
- Method the method of the class otherwise null
getMethods
public java.util.Iterator getMethods()
- Returns a iterator to iterate through the methods of the class.
- Returns:
- The iterator to iterate through the methods
getMethodCount
public int getMethodCount()
- Returns the number of methods.
- Returns:
- The number of methods