private static boolean isVisibleInHierarchy(IMethodBinding member, IPackageBinding pack) {
public static boolean isVisibleInHierarchy(IMethodBinding member, IPackageBinding pack) {
	private static boolean isVisibleInHierarchy(IMethodBinding member, IPackageBinding pack) {		int otherflags= member.getModifiers();		ITypeBinding declaringType= member.getDeclaringClass();		if (Modifier.isPublic(otherflags) || Modifier.isProtected(otherflags) || (declaringType != null && declaringType.isInterface())) {			return true;		} else if (Modifier.isPrivate(otherflags)) {			return false;		}				return pack == declaringType.getPackage();	}