82 |
|
|
83 |
/** Examines the given method and files it in a suitable collection. |
/** Examines the given method and files it in a suitable collection. |
84 |
* It files the method as a property method if it finds: |
* It files the method as a property method if it finds: |
85 |
* <lu> |
* <ul> |
86 |
* <li>boolean "is" getter</li> |
* <li>boolean "is" getter</li> |
87 |
* <li>"get" style getter</li> |
* <li>"get" style getter</li> |
88 |
* <li>single argument setter</li> |
* <li>single argument setter</li> |
89 |
* <li>indiced setter and getter</li> |
* <li>indiced setter and getter</li> |
90 |
* </ul> |
* </ul> |
91 |
* It files the method as a listener method if all of these rules apply: |
* It files the method as a listener method if all of these rules apply: |
92 |
* <lu> |
* <ul> |
93 |
* <li>the method name starts with "add" or "remove"</li> |
* <li>the method name starts with "add" or "remove"</li> |
94 |
* <li>there is only a single argument</li> |
* <li>there is only a single argument</li> |
95 |
* <li>the argument type is a subclass of <code>java.util.EventListener</code></li> |
* <li>the argument type is a subclass of <code>java.util.EventListener</code></li> |