FileDocCategorySizeDatePackage
Declarations.javaAPI DocJava SE 5 API1188Fri Aug 26 14:55:16 BST 2005com.sun.mirror.util

Declarations

public interface Declarations
Utility methods for operating on declarations.
author
Joseph D. Darcy
author
Scott Seligman
version
1.1 04/01/26
since
1.5

Fields Summary
Constructors Summary
Methods Summary
public booleanhides(com.sun.mirror.declaration.MemberDeclaration sub, com.sun.mirror.declaration.MemberDeclaration sup)
Tests whether one type, method, or field declaration hides another.

param
sub the first member
param
sup the second member
return
true if and only if the first member hides the second

public booleanoverrides(com.sun.mirror.declaration.MethodDeclaration sub, com.sun.mirror.declaration.MethodDeclaration sup)
Tests whether one method overrides another. When a non-abstract method overrides an abstract one, the former is also said to implement the latter.

param
sub the first method
param
sup the second method
return
true if and only if the first method overrides the second