Inspectopedia 2024.3 Help

Pattern validation

Non-annotated Method overrides @Pattern Method   New in this release

Reports when a method without any @Pattern annotation overrides a @Pattern annotated method.

Pattern annotation is not applicable   New in this release

Reports when a @Pattern annotation is applied to an element with a type other than String.

Validate annotated patterns   New in this release

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