Update VisibilityUtil.java