public enum AnnotationCollectorMode extends java.lang.Enum<AnnotationCollectorMode>
| Enum Constant and Description | 
|---|
| DUPLICATEAnnotations from the annotation collection will always be inserted. | 
| PREFER_COLLECTORAnnotations from the collector will be added and any existing annotations with the same name will be removed. | 
| PREFER_COLLECTOR_MERGEDAnnotations from the collector will be added and any existing annotations with the same name will be removed but any new parameters found within existing annotations will be merged into the added annotation. | 
| PREFER_EXPLICITAnnotations from the collector will be ignored if any existing annotations with the same name are found. | 
| PREFER_EXPLICIT_MERGEDAnnotations from the collector will be ignored if any existing annotations with the same name are found but any new parameters on the collector annotation will be added to existing annotations. | 
| Modifier and Type | Method and Description | 
|---|---|
| static AnnotationCollectorMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static AnnotationCollectorMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final AnnotationCollectorMode DUPLICATE
public static final AnnotationCollectorMode PREFER_COLLECTOR
public static final AnnotationCollectorMode PREFER_EXPLICIT
public static final AnnotationCollectorMode PREFER_COLLECTOR_MERGED
public static final AnnotationCollectorMode PREFER_EXPLICIT_MERGED
public static AnnotationCollectorMode[] values()
for (AnnotationCollectorMode c : AnnotationCollectorMode.values()) System.out.println(c);
public static AnnotationCollectorMode 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 null