Annotation Interface ProjectionConstructor


Marks a constructor to use for projections from an index object (root or object field) to a Java object.

The constructor must accept at least one argument.

When this annotation is added on a type instead of a constructor, it will apply to the only constructor of that type. If multiple constructors exist, an exception will be thrown on startup.