public static enum ExternalAnnotationUtil.MergeStrategy extends Enum<ExternalAnnotationUtil.MergeStrategy>
Enum Constant and Description |
---|
ADD_ANNOTATIONS
Only add new annotations, never remove or overwrite existing annotations.
|
OVERWRITE_ANNOTATIONS
Override existing annotations, keeping old annotations in locations that are not annotated in the new signature.
|
REPLACE_SIGNATURE
Unconditionally replace the signature.
|
Modifier and Type | Method and Description |
---|---|
static ExternalAnnotationUtil.MergeStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalAnnotationUtil.MergeStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalAnnotationUtil.MergeStrategy REPLACE_SIGNATURE
public static final ExternalAnnotationUtil.MergeStrategy OVERWRITE_ANNOTATIONS
public static final ExternalAnnotationUtil.MergeStrategy ADD_ANNOTATIONS
public static ExternalAnnotationUtil.MergeStrategy[] values()
for (ExternalAnnotationUtil.MergeStrategy c : ExternalAnnotationUtil.MergeStrategy.values()) System.out.println(c);
public static ExternalAnnotationUtil.MergeStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.