static Visibility getEffectiveVisibilityForOverriddenProperty(
      Visibility visibility,
      @Nullable Visibility fileOverviewVisibility,
      String propertyName,
      @Nullable CodingConvention codingConvention) {
    if (codingConvention != null && codingConvention.isPrivate(propertyName)) {
      return Visibility.PRIVATE;
    }
    return (fileOverviewVisibility != null
        && visibility == Visibility.INHERITED)
        ? fileOverviewVisibility
        : visibility;
  }
static Visibility getEffectiveVisibilityForOverriddenProperty ( Visibility visibility , @ Nullable Visibility fileOverviewVisibility , String propertyName , @ Nullable CodingConvention codingConvention ) { if ( codingConvention != null && codingConvention . isPrivate ( propertyName ) ) { return Visibility . PRIVATE ; } return ( fileOverviewVisibility != null && visibility == Visibility . INHERITED ) ? fileOverviewVisibility : visibility ; }
Returns the effective visibility of the given overridden property. An overridden property
inherits the visibility of the property it overrides.