Files
2026-11-06 21:43:25 +05:30

7 lines
187 B
Java

import com.ankurm.demo.annotations.NotBlank;
// Deliberately wrong: @NotBlank is declared @Target(ElementType.FIELD), so it cannot sit on a class.
@NotBlank
public class WrongTarget {
}