docs: @SuppressWarnings("static-method")
  	protected Visibility applyMinMaxVisibility(Visibility visibility, MutableFieldDeclaration it, TransformationContext context) {
  		if (context.findTypeGlobally(Agent.class).isAssignableFrom(it.getDeclaringType())) {
  			if (visibility.compareTo(Visibility.PROTECTED) > 0) {
  				return Visibility.PROTECTED;
  			}
  		}
  		return visibility;
  	}