|Enum Constant and Description|
Discover the type when no ambiguity is present if neither on a method nor a constructor, it implies the annotated element (type, field etc), if on a method or constructor with no parameter, it implies
Constraint applies to the parameters of a method or a constructor
Constraint applies to the return value of a method or a constructor.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final ConstraintTarget IMPLICIT
void), it implies
IMPLICITis not accepted and either
PARAMETERSis required. This is the case for constructors with parameters and methods with parameters and return value.
public static final ConstraintTarget RETURN_VALUE
public static final ConstraintTarget PARAMETERS
public static ConstraintTarget values()
for (ConstraintTarget c : ConstraintTarget.values()) System.out.println(c);
public static ConstraintTarget valueOf(String name)
Comments to: email@example.com.
Copyright © 2019,2020 Eclipse Foundation.
Use is subject to EFSL; this spec is based on material that is licensed under the Apache License, version 2.0.