Validators for Component Parameter Info class

How to add validations to attributes defined by @Parameter in ComponentInfo class