![]() |
The quickest way to understand how Java code is structured |
A method selector's job is to distinguish between methods. Any one Java method is either accepted or rejected by a method selector according to whether the method matches the method selector's criteria.
Modifier, Javadoc, Annotation, DeclaredBy, Exclude, Include, ParameterType, ExceptionType, ReturnType
| Attribute | Description | Required |
|---|---|---|
| name | identifier, must be unique | Yes |
| trigger | the text, which may include spaces, used to identify this method selector in a filtering script | No |
| constructors | flag to indicate whether the method must or must not be a constructor. true indicates 'must be a constructor', false indicates must not be a constructor. | No |
| overriding | a tristate specifying if a method must override another method (true) or must not override another method (false) | No |
| overridden | a tristate specifying if a method must be overridden by another method (true) or must not be overridden by another method (false) | No |
| overloaded | a tristate specifying if a method must be an overload of another method (true) or must not be an overload of another method (false) | No |
| returnsDeclarer | a tristate specifying if a method must return its own declarer | No |
| requiredSwitches | a comma separated list of switches which must be supplied as the type selector is used | No |
| namePattern | a wildcard pattern to which the name of accepted methods must conform | No |
| namePatternSwitch | a wildcard pattern supplied as a switch to which the name of accpeted methods must conform | No |
Please see the standard configuration for examples.