public static boolean isPublicPublic(final Member member) {
		if (Modifier.isPublic(member.getModifiers())) {
			if (Modifier.isPublic(member.getDeclaringClass().getModifiers())) {
				return true;
			}
		}
		return false;
	}
public static boolean isPublicPublic(final Member member) {
		if (Modifier.isPublic(member.getModifiers())) {
			if (Modifier.isPublic(member.getDeclaringClass().getModifiers())) {
				return true;
			}
		}
		return false;
	}
public static boolean isPublicPublic ( final Member member ) { if ( Modifier . isPublic ( member . getModifiers ( ) ) ) { if ( Modifier . isPublic ( member . getDeclaringClass ( ) . getModifiers ( ) ) ) { return true ; } } return false ; }
Returns <code>true</code> if class member is public and if its declaring class is also public.
Returns <code > true< / code > if class member is public and if its declaring class is also public .