Interface Constraint.Factory<A extends java.lang.annotation.Annotation,V>
-
- Type Parameters:
A
- annotation typeV
- data type
- Enclosing interface:
- Constraint<V>
public static interface Constraint.Factory<A extends java.lang.annotation.Annotation,V>
Provider for a specific constraint given a field type.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Constraint<V>
make(A data, java.lang.reflect.Type type)
Create a new specialized constraint.
-
-
-
Method Detail
-
make
Constraint<V> make(A data, java.lang.reflect.Type type)
Create a new specialized constraint.- Parameters:
data
- annotation with metadatatype
- annotated type. is a subtype ofV
- Returns:
- new constraint
- Since:
- 4.0.0
-
-