public interface Declarations
Utility methods for operating on declarations.
hidesTests whether one type, method, or field declaration hides another.
sub- the first member
sup- the second member
trueif and only if the first member hides the second
overridesTests whether one method overrides another. When a non-abstract method overrides an abstract one, the former is also said to implement the latter.
sub- the first method
sup- the second method
trueif and only if the first method overrides the second