return member.getDeclaringClass().getPackage().getName().equals(packageName);
Package p = member.getDeclaringClass().getPackage(); return ( null == packageName ? p == null : packageName.equals(p) );
    protected boolean isVisible(Member member, String packageName) {        int mod = member.getModifiers();        if (Modifier.isPrivate(mod)) {            return false;        }        if (Modifier.isProtected(mod) || Modifier.isPublic(mod)) {            return true;        }        return member.getDeclaringClass().getPackage().getName().equals(packageName);    }