public interface Declarations
Modifier and Type | Method and Description |
---|---|
boolean |
hides(MemberDeclaration sub,
MemberDeclaration sup)
Tests whether one type, method, or field declaration hides another.
|
boolean |
overrides(MethodDeclaration sub,
MethodDeclaration sup)
Tests whether one method overrides another.
|
boolean hides(MemberDeclaration sub, MemberDeclaration sup)
sub
- the first membersup
- the second memberboolean overrides(MethodDeclaration sub, MethodDeclaration sup)
sub
- the first methodsup
- the second method
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.