Pattern validation
- Non-annotated Method overrides @Pattern Method
Reports when a method without any @Pattern annotation overrides a @Pattern annotated method.
- Pattern annotation is not applicable
Reports when a @Pattern annotation is applied to an element with a type other than String.
- Validate annotated patterns
Reports expressions passed as arguments for @Pattern parameters and returned from @Pattern-annotated methods that do not match the specified pattern.
Last modified: 11 September 2024