| Modifier and Type | Field and Description |
|---|---|
| public static final ConstraintTarget | IMPLICIT
Discover the type when no ambiguity is present
|
| public static final ConstraintTarget | PARAMETERS
Constraint applies to the parameters of a method or a constructor |
| public static final ConstraintTarget | RETURN_VALUE
Constraint applies to the return value of a method or a constructor. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ConstraintTarget | |
| public static ConstraintTarget[] |
| IMPLICIT | back to summary |
|---|---|
| public static final ConstraintTarget IMPLICIT Discover the type when no ambiguity is present
IMPLICIT is not accepted and either RETURN_VALUE or
PARAMETERS is required. This is the case for constructors with parameters
and methods with parameters and return value.
| |
| PARAMETERS | back to summary |
|---|---|
| public static final ConstraintTarget PARAMETERS Constraint applies to the parameters of a method or a constructor | |
| RETURN_VALUE | back to summary |
|---|---|
| public static final ConstraintTarget RETURN_VALUE Constraint applies to the return value of a method or a constructor. | |
| ConstraintTarget | back to summary |
|---|---|
| private ConstraintTarget() | |
| valueOf | back to summary |
|---|---|
| public static ConstraintTarget valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ConstraintTarget[] values() | |