Package japicmp.model
Interface JApiCompatibility
- All Known Implementing Classes:
JApiAnnotation
,JApiAnnotationElement
,JApiBehavior
,JApiClass
,JApiClassFileFormatVersion
,JApiConstructor
,JApiField
,JApiImplementedInterface
,JApiMethod
,JApiSuperclass
public interface JApiCompatibility
Implemented by elements which can indicate if they have changed compatible or not.
-
Method Summary
Modifier and TypeMethodDescriptionReturns all compatibility changes.boolean
Returns true if this element has changed binary compatible.boolean
Returns true if this element has changed source compatible.
-
Method Details
-
isBinaryCompatible
boolean isBinaryCompatible()Returns true if this element has changed binary compatible.- Returns:
- true if this element has changed binary compatible
-
isSourceCompatible
boolean isSourceCompatible()Returns true if this element has changed source compatible.- Returns:
- true if this element has changed source compatible
-
getCompatibilityChanges
List<JApiCompatibilityChange> getCompatibilityChanges()Returns all compatibility changes.- Returns:
- a list of compatibility changes
-