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 138310e..e0d945b 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 @@ -23,8 +23,8 @@ import org.openrewrite.csharp.CSharpPrinter; import org.openrewrite.csharp.CSharpVisitor; import org.openrewrite.csharp.service.CSharpNamingService; -import org.openrewrite.internal.NamingService; import org.openrewrite.internal.ListUtils; +import org.openrewrite.internal.NamingService; import org.openrewrite.java.JavaPrinter; import org.openrewrite.java.JavaTypeVisitor; import org.openrewrite.java.internal.TypesInUse; @@ -2099,8 +2099,7 @@ final class Keyword implements Cs { return v.visitKeyword(this, p); } - public enum KeywordKind - { + public enum KeywordKind { Ref, Out, Await, @@ -2862,6 +2861,7 @@ public CoordinateBuilder.Expression getCoordinates() { } //region VariableDesignation + /** * Interface for variable designators in declaration expressions. * This can be either a single variable name or a parenthesized list of designators for deconstruction. @@ -2935,7 +2935,7 @@ public CoordinateBuilder.Expression getCoordinates() { /** * Represents a parenthesized list of variable declarations used in deconstruction patterns. - * + *
* Example of simple deconstruction: *
* int (x, y) = point; @@ -3426,7 +3426,7 @@ public Cs.Unary withOperator(JLeftPaddedoperator) { * or in the base class (base). * * Examples: - *
+ ** class Person { * // Constructor with 'this' initializer * public Person(string name) : this(name, 0) { } @@ -3712,6 +3712,7 @@ public CoordinateBuilder.Statement getCoordinates() { } } + /** * Represents an initializer expression that consists of a list of expressions, typically used in array * or collection initialization contexts. The expressions are contained within delimiters like curly braces. @@ -4168,6 +4169,7 @@ public IsPattern withPattern(JLeftPaddedpattern) { } //region Patterns + /** * Base interface for all C# pattern types that can appear on the right-hand side of an 'is' expression. * This includes type patterns, constant patterns, declaration patterns, property patterns, etc. @@ -4720,6 +4722,7 @@ public ListPattern withPatterns(JContainer patterns) { } } + /** * Represents a C# parenthesized pattern expression that groups a nested pattern. * @@ -5286,7 +5289,6 @@ public CoordinateBuilder.Expression getCoordinates() { } - /** * Represents a property pattern clause in C# pattern matching, which matches against object properties. *
@@ -5874,8 +5876,7 @@ public SwitchSection withStatements(List
> statements) { } } - public interface SwitchLabel extends Expression - { + public interface SwitchLabel extends Expression { } @@ -6383,7 +6384,6 @@ final class FixedStatement implements Cs, Statement { J.Block block; - @Override public J acceptCSharp(CSharpVisitor
v, P p) { return v.visitFixedStatement(this, p);