public enum Code extends Enum<Code>
Modifier and Type | Method and Description |
---|---|
static <T extends JavaElement> |
attachmentsFor(T oldElement,
T newElement,
String... customAttachments) |
String |
code() |
org.revapi.Difference |
createDifference(Locale locale) |
org.revapi.Difference |
createDifference(Locale locale,
LinkedHashMap<String,String> attachments) |
org.revapi.Difference |
createDifference(Locale locale,
LinkedHashMap<String,String> attachments,
String... parameters) |
static Code |
fromCode(String code) |
static Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code MISSING_IN_OLD_API
public static final Code MISSING_IN_NEW_API
public static final Code MISSING_OLD_SUPERTYPE
public static final Code MISSING_NEW_SUPERTYPE
public static final Code ELEMENT_NO_LONGER_DEPRECATED
public static final Code ELEMENT_NOW_DEPRECATED
public static final Code CLASS_VISIBILITY_INCREASED
public static final Code CLASS_VISIBILITY_REDUCED
public static final Code CLASS_KIND_CHANGED
public static final Code CLASS_NO_LONGER_FINAL
public static final Code CLASS_NOW_FINAL
public static final Code CLASS_NO_LONGER_ABSTRACT
public static final Code CLASS_NOW_ABSTRACT
public static final Code CLASS_ADDED
public static final Code CLASS_REMOVED
public static final Code CLASS_NO_LONGER_IMPLEMENTS_INTERFACE
public static final Code CLASS_NOW_IMPLEMENTS_INTERFACE
public static final Code CLASS_FINAL_CLASS_INHERITS_FROM_NEW_CLASS
public static final Code CLASS_NON_FINAL_CLASS_INHERITS_FROM_NEW_CLASS
public static final Code CLASS_NOW_CHECKED_EXCEPTION
public static final Code CLASS_NO_LONGER_INHERITS_FROM_CLASS
public static final Code CLASS_NON_PUBLIC_PART_OF_API
public static final Code CLASS_SUPER_TYPE_TYPE_PARAMETERS_CHANGED
public static final Code CLASS_EXTERNAL_CLASS_EXPOSED_IN_API
public static final Code CLASS_EXTERNAL_CLASS_NO_LONGER_EXPOSED_IN_API
public static final Code CLASS_DEFAULT_SERIALIZATION_CHANGED
public static final Code ANNOTATION_ADDED
public static final Code ANNOTATION_REMOVED
public static final Code ANNOTATION_ATTRIBUTE_VALUE_CHANGED
public static final Code ANNOTATION_ATTRIBUTE_ADDED
public static final Code ANNOTATION_ATTRIBUTE_REMOVED
public static final Code ANNOTATION_NO_LONGER_INHERITED
public static final Code ANNOTATION_NOW_INHERITED
public static final Code FIELD_ADDED_STATIC_FIELD
public static final Code FIELD_ADDED
public static final Code FIELD_REMOVED
public static final Code FIELD_MOVED_TO_SUPER_CLASS
public static final Code FIELD_INHERITED_NOW_DECLARED
public static final Code FIELD_CONSTANT_REMOVED
public static final Code FIELD_CONSTANT_VALUE_CHANGED
public static final Code FIELD_NOW_CONSTANT
public static final Code FIELD_NO_LONGER_CONSTANT
public static final Code FIELD_NOW_FINAL
public static final Code FIELD_NO_LONGER_FINAL
public static final Code FIELD_NO_LONGER_STATIC
public static final Code FIELD_NOW_STATIC
public static final Code FIELD_TYPE_CHANGED
public static final Code FIELD_SERIAL_VERSION_UID_UNCHANGED
public static final Code FIELD_SERIAL_VERSION_UID_CHANGED
public static final Code FIELD_VISIBILITY_INCREASED
public static final Code FIELD_VISIBILITY_REDUCED
public static final Code FIELD_ENUM_CONSTANT_ORDER_CHANGED
public static final Code METHOD_DEFAULT_VALUE_ADDED
public static final Code METHOD_DEFAULT_VALUE_CHANGED
public static final Code METHOD_DEFAULT_VALUE_REMOVED
public static final Code METHOD_ADDED_TO_INTERFACE
public static final Code METHOD_DEFAULT_METHOD_ADDED_TO_INTERFACE
public static final Code METHOD_STATIC_METHOD_ADDED_TO_INTERFACE
public static final Code METHOD_ATTRIBUTE_WITH_NO_DEFAULT_ADDED_TO_ANNOTATION_TYPE
public static final Code METHOD_ATTRIBUTE_WITH_DEFAULT_ADDED_TO_ANNOTATION_TYPE
public static final Code METHOD_ABSTRACT_METHOD_ADDED
public static final Code METHOD_ADDED
public static final Code METHOD_FINAL_METHOD_ADDED_TO_NON_FINAL_CLASS
public static final Code METHOD_REMOVED
public static final Code METHOD_MOVED_TO_SUPERCLASS
public static final Code METHOD_INHERITED_METHOD_MOVED_TO_CLASS
public static final Code METHOD_ATTRIBUTE_REMOVED_FROM_ANNOTATION_TYPE
public static final Code METHOD_NO_LONGER_FINAL
public static final Code METHOD_NOW_FINAL
public static final Code METHOD_NOW_FINAL_IN_FINAL_CLASS
public static final Code METHOD_VISIBILITY_INCREASED
public static final Code METHOD_VISIBILITY_REDUCED
public static final Code METHOD_RETURN_TYPE_CHANGED
public static final Code METHOD_RETURN_TYPE_TYPE_PARAMETERS_CHANGED
public static final Code METHOD_RETURN_TYPE_CHANGED_COVARIANTLY
public static final Code METHOD_NUMBER_OF_PARAMETERS_CHANGED
public static final Code METHOD_PARAMETER_TYPE_CHANGED
public static final Code METHOD_PARAMETER_TYPE_PARAMETER_CHANGED
public static final Code METHOD_NO_LONGER_STATIC
public static final Code METHOD_NOW_STATIC
public static final Code METHOD_CHECKED_EXCEPTION_ADDED
public static final Code METHOD_RUNTIME_EXCEPTION_ADDED
public static final Code METHOD_CHECKED_EXCEPTION_REMOVED
public static final Code METHOD_RUNTIME_EXCEPTION_REMOVED
public static final Code METHOD_NO_LONGER_DEFAULT
public static final Code METHOD_NOW_DEFAULT
public static final Code METHOD_NOW_ABSTRACT
public static final Code METHOD_NO_LONGER_ABSTRACT
public static final Code GENERICS_ELEMENT_NOW_PARAMETERIZED
public static final Code GENERICS_FORMAL_TYPE_PARAMETER_ADDED
public static final Code GENERICS_FORMAL_TYPE_PARAMETER_REMOVED
public static final Code GENERICS_FORMAL_TYPE_PARAMETER_CHANGED
public static Code[] values()
for (Code c : Code.values()) System.out.println(c);
public static Code 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 nullpublic static <T extends JavaElement> LinkedHashMap<String,String> attachmentsFor(@Nullable T oldElement, @Nullable T newElement, String... customAttachments)
public String code()
public org.revapi.Difference createDifference(@Nonnull Locale locale, LinkedHashMap<String,String> attachments)
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.