public static enum ConstraintHelper.AnnotationProcessorConstraintTarget extends java.lang.Enum<ConstraintHelper.AnnotationProcessorConstraintTarget>
Enum Constant and Description |
---|
IMPLICIT
Discover the type when no ambiguity is present if neither on a method nor a constructor.
|
PARAMETERS
Constraint applies to the parameters of a method or a constructor.
|
RETURN_VALUE
Constraint applies to the return value of a method or a constructor.
|
Modifier and Type | Method and Description |
---|---|
static ConstraintHelper.AnnotationProcessorConstraintTarget |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintHelper.AnnotationProcessorConstraintTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstraintHelper.AnnotationProcessorConstraintTarget PARAMETERS
public static final ConstraintHelper.AnnotationProcessorConstraintTarget RETURN_VALUE
public static final ConstraintHelper.AnnotationProcessorConstraintTarget IMPLICIT
public static ConstraintHelper.AnnotationProcessorConstraintTarget[] values()
for (ConstraintHelper.AnnotationProcessorConstraintTarget c : ConstraintHelper.AnnotationProcessorConstraintTarget.values()) System.out.println(c);
public static ConstraintHelper.AnnotationProcessorConstraintTarget valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007-2022 Red Hat, Inc. All Rights Reserved