8263438: Unused method AbstractMemberWriter.isInherited
Reviewed-by: prappo
This commit is contained in:
parent
dd5a84c68c
commit
d5a15f7420
@ -294,20 +294,6 @@ public abstract class AbstractMemberWriter implements MemberSummaryWriter, Membe
|
||||
return utils.getSimpleName(member);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns {@code true} if the given element is inherited
|
||||
* by the class that is being documented.
|
||||
*
|
||||
* @param ped the element being checked
|
||||
*
|
||||
* @return {@code true} if inherited
|
||||
*/
|
||||
protected boolean isInherited(Element ped){
|
||||
return (!utils.isPrivate(ped) &&
|
||||
(!utils.isPackagePrivate(ped) ||
|
||||
ped.getEnclosingElement().equals(ped.getEnclosingElement())));
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds use information to the documentation tree.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user