if (Flags.isPublic(otherflags) || (declaringType != null && declaringType.isInterface())) {
if (Flags.isPublic(otherflags) || (declaringType != null && isInterfaceOrAnnotation(declaringType))) {
	public static boolean isVisible(IMember member, IPackageFragment pack) throws JavaModelException {				int type= member.getElementType();		if  (type == IJavaElement.INITIALIZER ||  (type == IJavaElement.METHOD && member.getElementName().startsWith("<"))) { //$NON-NLS-1$			return false;		}				int otherflags= member.getFlags();		IType declaringType= member.getDeclaringType();		if (Flags.isPublic(otherflags) || (declaringType != null && declaringType.isInterface())) {			return true;		} else if (Flags.isPrivate(otherflags)) {			return false;		}						IPackageFragment otherpack= (IPackageFragment) findParentOfKind(member, IJavaElement.PACKAGE_FRAGMENT);		return (pack != null && otherpack != null && isSamePackage(pack, otherpack));	}