Add an annotation so that components can declare a validation function

Issue #49 resolved
Michael Ludwig
repo owner created an issue

We could have it support common things like @NotNull or @InRange(double, double) and then either an annotation that points to an interface class, a static method, or even contains a Java snippet that gets embedded in the generated class.