Marks this Class as a MixIn Type that can add/modify constraint annotations on the specified type.
These types are typically in an external project / dependency or otherwise types that we can't explicitly annotate or modify.
In the example below, the VehicleMixin class augments the the generated Vehicle adapter to add a @NotBlank annotation to the type property.
invalid input: '{@code
@MixIn(Vehicle.class)
public abstract class VehicleMixIn {
@NotBlank
private String type;
...
}</pre>'-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> valueThe concrete type to mix.
-