Elements
.@Deprecated public interface Declarations
Modifier and Type | Method and Description |
---|---|
boolean |
hides(MemberDeclaration sub,
MemberDeclaration sup)
Deprecated.
Tests whether one type, method, or field declaration hides another.
|
boolean |
overrides(MethodDeclaration sub,
MethodDeclaration sup)
Deprecated.
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 © 2004, 2014, Oracle and/or its affiliates. All rights reserved.