Signature sign = null;
if (FilePart.PROTOTYPE == fp.getType()) {
PrototypePart pp = (PrototypePart) fp;
sign = pp.getSignature();
} else {
MethodPart mp = (MethodPart) fp;
sign = mp.getSignature();
}
// Ignore private methods.
if (!sign.getScope().equals("public") &&
!sign.getScope().equals("protected"))