The default applies to every match for any of this annotation's conditions.
TypeUseLocation, DefaultQualifier, DefaultQualifierInHierarchy
| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: regular expressions matching variables to whose type an annotation should be appliedReturns regular expressions matching names of variables, to whose types the annotation should be applied as a default. |
| public String[] | Returns: exceptions to regular expression rulesReturns exceptions to regular expression rules. |
| public TypeKind[] | |
| public Class | |
| public TypeUseLocation[] | Returns: the locations to which the annotation should be appliedReturns the locations to which the annotation should be applied. |
| names | back to summary |
|---|---|
| public String[] names() Returns regular expressions matching names of variables, to whose types the annotation should be applied as a default. If a regular expression matches the name of a method, the annotation is applied as a default to the return type. The regular expression must match the entire variable or method name. For example, to match any name that contains "foo", use ".*foo.*". The default does not apply if the name matches any of the regexes in This affects formal parameter types only if one of the following is true:
| |
| namesExceptions | back to summary |
|---|---|
| public String[] namesExceptions() Returns exceptions to regular expression rules. | |
| typeKinds | back to summary |
|---|---|
| public TypeKind[] typeKinds() Returns | |
| types | back to summary |
|---|---|
| public Class Returns Only the given types, not their subtypes, receive the default. For instance, if the | |
| value | back to summary |
|---|---|
| public TypeUseLocation[] value() Returns the locations to which the annotation should be applied.
| |