Class Cs.ConstructorConstraint

java.lang.Object
org.openrewrite.csharp.tree.Cs.ConstructorConstraint
All Implemented Interfaces:
Cs, Cs.TypeParameterConstraint, org.openrewrite.java.tree.J, org.openrewrite.Tree
Enclosing interface:
Cs

public static final class Cs.ConstructorConstraint extends Object implements Cs, Cs.TypeParameterConstraint
Represents a constructor constraint in a where clause. Example:
 where T : new()
           ^^^^^
 
  • Constructor Details

    • ConstructorConstraint

      public ConstructorConstraint()
  • Method Details

    • acceptCSharp

      public <P> org.openrewrite.java.tree.J acceptCSharp(CSharpVisitor<P> v, P p)
      Specified by:
      acceptCSharp in interface Cs