From 29b6ea8cfdf8fe2fb8cdc661eb79a681c2cc4ca5 Mon Sep 17 00:00:00 2001 From: Laurens Westerlaken Date: Thu, 28 Nov 2024 16:31:31 +0100 Subject: [PATCH] FMT pt2 --- .../src/main/java/org/openrewrite/csharp/tree/Cs.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/rewrite-csharp/src/main/java/org/openrewrite/csharp/tree/Cs.java b/rewrite-csharp/src/main/java/org/openrewrite/csharp/tree/Cs.java index e0d945b..132868c 100644 --- a/rewrite-csharp/src/main/java/org/openrewrite/csharp/tree/Cs.java +++ b/rewrite-csharp/src/main/java/org/openrewrite/csharp/tree/Cs.java @@ -2071,7 +2071,6 @@ public PropertyDeclaration withInitializer(@Nullable JLeftPadded ini } } - @Getter @FieldDefaults(makeFinal = true, level = AccessLevel.PRIVATE) @EqualsAndHashCode(callSuper = false, onlyExplicitlyIncluded = true) @@ -2797,7 +2796,6 @@ public

J acceptCSharp(CSharpVisitor

v, P p) { * // use result * } * - *

* Example 2: Deconstruction declaration: *

      * int (x, y) = point;
@@ -2875,12 +2873,10 @@ interface VariableDesignation extends Expression, Cs {
     /**
      * Represents a single variable declaration within a declaration expression.
      * Used both for simple out variable declarations and as elements within deconstruction declarations.
-     * 

* Example in out variable: *

      * int.TryParse(s, out int x)  // 'int x' is the SingleVariable
      * 
- *

* Example in deconstruction: *

      * (int x, string y) = point;  // both 'int x' and 'string y' are SingleVariables
@@ -2935,12 +2931,10 @@ public CoordinateBuilder.Expression getCoordinates() {
 
     /**
      * Represents a parenthesized list of variable declarations used in deconstruction patterns.
-     * 

* Example of simple deconstruction: *

      * int (x, y) = point;
      * 
- *

* Example of nested deconstruction: *

      * (int count, var (string name, int age)) = GetPersonDetails();
@@ -3424,13 +3418,11 @@ public Cs.Unary withOperator(JLeftPadded operator) {
     /**
      * Represents a constructor initializer which is a call to another constructor, either in the same class (this)
      * or in the base class (base).
-     * 

* Examples: *

      * class Person {
      * // Constructor with 'this' initializer
      * public Person(string name) : this(name, 0) { }
-     * 

* // Constructor with 'base' initializer * public Person(string name, int age) : base(name) { } * } @@ -5288,7 +5280,6 @@ public CoordinateBuilder.Expression getCoordinates() { } - /** * Represents a property pattern clause in C# pattern matching, which matches against object properties. *

@@ -6396,7 +6387,6 @@ public CoordinateBuilder.Statement getCoordinates() { } } - /** * Represents a C# checked statement which enforces overflow checking for arithmetic operations * and conversions. Operations within a checked block will throw OverflowException if arithmetic