Closed guillermocalvo closed 5 months ago
Given that:
JApiHasAnnotations
JApiHasGenericTemplates
JApiCompatibility
CompatibilityChanges
I believe that we can say that, by definition, all instances of JApiHasAnnotations and JApiHasGenericTemplates must be a JApiCompatibility.
So I think these two interfaces should extend JApiCompatibility to clarify this relationship and to avoid unnecessary type casting.
Given that:
JApiHasAnnotations
andJApiHasGenericTemplates
implementJApiCompatibility
as well.CompatibilityChanges
assumes that any such instances can be safely casted toJApiCompatibility
.I believe that we can say that, by definition, all instances of
JApiHasAnnotations
andJApiHasGenericTemplates
must be aJApiCompatibility
.So I think these two interfaces should extend
JApiCompatibility
to clarify this relationship and to avoid unnecessary type casting.