class Person { @NamingConvention("_[a-z]+") private String _name; @NamingConvention("_[a-z]+") private int _age; // Getter and setter methods }