![]() |
The quickest way to understand how Java code is structured |
A type selector's job is to distinguish between types. Any one Java type is either accepted or rejected by a type selector according to whether the type matches the type selector's criteria.
Modifier, Javadoc, Annotation, DeclaredBy, Exclude, Include, Supertype, DependsUpon, Declares
| Attribute | Description | Required |
|---|---|---|
| name | identifier, must be unique | Yes |
| requiredSwitches | a comma separated list of switches which must be supplied as the type selector is used | No |
| trigger | the text, which may include spaces, used to identify this type selector in a filtering script | No |
| namePattern | a wildcard pattern to which the name of accepted types must conform | No |
| namePatternSwitch | a wildcard pattern supplied as a switch to which the name of accpeted types must conform | No |
| interfaces | a tristate specifying if a type must be (true) or must not be (false) an interface | No |
| stereotype | a string which will be appended to the title of matching types in the format <<stereotype>> | No |
| topLevel | a tristate specifying if a type must be top level (true) or must be an inner type (false) | No |
| bytecode | a tristate specifying if a type must be available to the Javamodel as bytecode only, normally through a jar in the classpath (true) or the source code must be available (false) | No |
| packagePattern | a wildcard pattern matching the name of the package in which accepted types are contained | No |
| qualifiedName | the literal qualified name of the accepted type, this is a convenience to avoid having to specify the name and the package separately | No |
| packagePatternSwitch | a wildcard pattern matching the namemof the package in which accepted types are contained supplied as a switch | No |
Please see the standard configuration for examples.