| com.sun.mirror.util.Declarations
All known Subclasses: org.eclipse.jdt.apt.core.internal.util.DeclarationsUtil,
Declarations | public interface Declarations (Code) | | Utility methods for operating on declarations.
author: Joseph D. Darcy author: Scott Seligman version: 1.1 04/01/26 since: 1.5 |
hides | boolean hides(MemberDeclaration sub, MemberDeclaration sup)(Code) | | Tests whether one type, method, or field declaration hides another.
Parameters: sub - the first member Parameters: sup - the second member true if and only if the first member hidesthe second |
overrides | boolean overrides(MethodDeclaration sub, MethodDeclaration sup)(Code) | | Tests whether one method overrides another. When a
non-abstract method overrides an abstract one, the
former is also said to implement the latter.
Parameters: sub - the first method Parameters: sup - the second method true if and only if the first method overridesthe second |
|
|