private static boolean canBeAccessedFrom(IMember member, IType newHome) throws JavaModelException{
private boolean canBeAccessedFrom(IMember member, IType newHome) throws JavaModelException{
	private static boolean canBeAccessedFrom(IMember member, IType newHome) throws JavaModelException{		Assert.isTrue(!(member instanceof IInitializer));		if (newHome.equals(member.getDeclaringType()))			return true;					if (newHome.equals(member))			return true;					if (Flags.isPrivate(member.getFlags()))			return false;					if (member.getDeclaringType() == null){ //top level			if (! (member instanceof IType))				return false;			if (Flags.isPublic(member.getFlags()))				return true;							//FIX ME: protected and default treated the same			return ((IType)member).getPackageFragment().equals(newHome.getPackageFragment());				}					return false;	}