Package japicmp.model
Class JApiAnnotation
java.lang.Object
japicmp.model.JApiAnnotation
- All Implemented Interfaces:
JApiCompatibility,JApiHasChangeStatus
-
Constructor Summary
ConstructorsConstructorDescriptionJApiAnnotation(String fullyQualifiedName, Optional<javassist.bytecode.annotation.Annotation> oldAnnotation, Optional<javassist.bytecode.annotation.Annotation> newAnnotation, JApiChangeStatus changeStatus) -
Method Summary
Modifier and TypeMethodDescriptionReturns the change status of this element.Returns all compatibility changes.Optional<javassist.bytecode.annotation.Annotation> Optional<javassist.bytecode.annotation.Annotation> booleanReturns true if this element has changed binary compatible.booleanReturns true if this element has changed source compatible.toString()
-
Constructor Details
-
JApiAnnotation
public JApiAnnotation(String fullyQualifiedName, Optional<javassist.bytecode.annotation.Annotation> oldAnnotation, Optional<javassist.bytecode.annotation.Annotation> newAnnotation, JApiChangeStatus changeStatus)
-
-
Method Details
-
toString
-
getChangeStatus
Description copied from interface:JApiHasChangeStatusReturns the change status of this element.- Specified by:
getChangeStatusin interfaceJApiHasChangeStatus- Returns:
- the change status of this element
-
getFullyQualifiedName
-
getOldAnnotation
-
getNewAnnotation
-
getElements
-
isBinaryCompatible
public boolean isBinaryCompatible()Description copied from interface:JApiCompatibilityReturns true if this element has changed binary compatible.- Specified by:
isBinaryCompatiblein interfaceJApiCompatibility- Returns:
- true if this element has changed binary compatible
-
isSourceCompatible
public boolean isSourceCompatible()Description copied from interface:JApiCompatibilityReturns true if this element has changed source compatible.- Specified by:
isSourceCompatiblein interfaceJApiCompatibility- Returns:
- true if this element has changed source compatible
-
getCompatibilityChanges
Description copied from interface:JApiCompatibilityReturns all compatibility changes.- Specified by:
getCompatibilityChangesin interfaceJApiCompatibility- Returns:
- a list of compatibility changes
-