xjavadoc
public interface XMethod extends XExecutableMember
UNKNOWN: 25. februar 2003
Nested Class Summary | |
---|---|
static class | XMethod.PropertyAccessorPredicate |
static class | XMethod.PropertyMutatorPredicate |
Field Summary | |
---|---|
static Predicate | PROPERTY_ACCESSOR_PREDICATE
Predicate that can be used to retrieve all property accessor methods. |
static Predicate | PROPERTY_MUTATOR_PREDICATE
Predicate that can be used to retrieve all property mutator methods. |
Method Summary | |
---|---|
XMethod | getAccessor()
If this method is a mutator, and a corresponding accessor exists, that
accessor will be returned. |
XMethod | getMutator()
If this method is an accessor, and a corresponding mutator exists, that
mutator will be returned. |
String | getNameWithoutPrefix()
Returns the name of the method with the prefix stripped away. |
String | getPropertyName()
Returns the property name of this method (if it is an accessor or mutator),
or null if it is not.
|
Type | getPropertyType()
Returns the type of the property this method represents, or null if this
method is not a property method.
|
Type | getReturnType()
Returns the return type of the method.
|
boolean | isPropertyAccessor() |
boolean | isPropertyMutator() |
Returns: the corresponding accessor.
Returns: the corresponding mutator.
Returns: the property name.
Returns: the property name.
Returns: the property type
Returns: the return type of the method.
Returns: true if this is a public Xxx getXxx() method
Returns: true if this is a public void setXxx(Xxx) method