Can I use annotations in java to perform some actions e.g. Upper casing of values coming from a form. : <p>I am starting with a utility projects which will give out of the box annotations to perform some tasks such as uppercasing, lowercasing, validating, performing some more trasnformation. As far I have seen that annotations are actually have no impact on code. So I want to know if there is a way that where I put the annotation on let say </p>

<pre><code>@Casing(type="MyEnum.UpperCase")
private String name;
</code></pre>

<p>and while saving or retrieving the value it gives UpperCase String of the input.</p>
