// Plik wygenerowany automatycznie przez sourceAnnotations.ToStringAnnotationProcessor
package sourceAnnotations;

public class ToStrings
{
   public static String toString(rect.Point obj)
   {
      var result = new StringBuilder();
      result.append("[");
      result.append(toString(obj.getX()));
      result.append(",");
      result.append(toString(obj.getY()));
      result.append("]");
      return result.toString();
   }

   public static String toString(rect.Rectangle obj)
   {
      var result = new StringBuilder();
      result.append("rect.Rectangle");
      result.append("[");
      result.append(toString(obj.getTopLeft()));
      result.append(",");
      result.append("width=");
      result.append(toString(obj.getWidth()));
      result.append(",");
      result.append("height=");
      result.append(toString(obj.getHeight()));
      result.append("]");
      return result.toString();
   }

   public static String toString(Object obj)
   {
      return java.util.Objects.toString(obj);
   }
}
