private static boolean hasLowerVisibility(final ModifierKeyword keyword, final ModifierKeyword threshold) { Assert.isTrue(isVisibilityKeyword(keyword)); Assert.isTrue(isVisibilityKeyword(threshold)); return hasLowerVisibility(keyword != null ? keyword.toFlagValue() : Modifier.NONE, threshold != null ? threshold.toFlagValue() : Modifier.NONE);
public static boolean hasLowerVisibility(final int modifiers, final int threshold) { if (Modifier.isPrivate(threshold)) return false; else if (Modifier.isPublic(threshold)) return !Modifier.isPublic(modifiers); else if (Modifier.isProtected(threshold)) return !Modifier.isProtected(modifiers) && !Modifier.isPublic(modifiers); else return Modifier.isPrivate(modifiers);
	private static boolean hasLowerVisibility(final ModifierKeyword keyword, final ModifierKeyword threshold) {		Assert.isTrue(isVisibilityKeyword(keyword));		Assert.isTrue(isVisibilityKeyword(threshold));		return hasLowerVisibility(keyword != null ? keyword.toFlagValue() : Modifier.NONE, threshold != null ? threshold.toFlagValue() : Modifier.NONE);	}