|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XMethod
Describe what this class does
| Nested Class Summary | |
|---|---|
static class |
XMethod.PropertyAccessorPredicate
|
static class |
XMethod.PropertyMutatorPredicate
|
| Field Summary | |
|---|---|
static org.apache.commons.collections.Predicate |
PROPERTY_ACCESSOR_PREDICATE
Predicate that can be used to retrieve all property accessor methods. |
static org.apache.commons.collections.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. |
java.lang.String |
getNameWithoutPrefix()
Returns the name of the method with the prefix stripped away. |
java.lang.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()
|
| Methods inherited from interface xjavadoc.XExecutableMember |
|---|
getNameWithSignature, getParameters, getParameterTypes, getSignature, getThrownExceptions, isConstructor, isNative, isSynchronized, throwsException |
| Methods inherited from interface xjavadoc.XProgramElement |
|---|
getContainingClass, getContainingPackage, getDoc, getModifiers, getModifierSpecifier, getSuperElement, getSuperInterfaceElements, getXJavaDoc, isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, updateDoc |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface xjavadoc.Named |
|---|
getName |
| Field Detail |
|---|
static final org.apache.commons.collections.Predicate PROPERTY_MUTATOR_PREDICATE
static final org.apache.commons.collections.Predicate PROPERTY_ACCESSOR_PREDICATE
| Method Detail |
|---|
Type getReturnType()
Type getPropertyType()
isPropertyMutator(),
isPropertyAccessor(),
getPropertyName()java.lang.String getPropertyName()
java.lang.String getNameWithoutPrefix()
boolean isPropertyMutator()
boolean isPropertyAccessor()
XMethod getAccessor()
XMethod getMutator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||