Class Cs.UsingDirective

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

public static class Cs.UsingDirective extends Object implements Cs, org.openrewrite.java.tree.Statement
  • Constructor Details

    • UsingDirective

      public UsingDirective()
  • Method Details

    • isGlobal

      public boolean isGlobal()
    • withGlobal

      public Cs.UsingDirective withGlobal(boolean global)
    • isStatic

      public boolean isStatic()
    • withStatic

      public Cs.UsingDirective withStatic(boolean statik)
    • isUnsafe

      public boolean isUnsafe()
    • withUnsafe

      public Cs.UsingDirective withUnsafe(boolean unsafe)
    • getAlias

      public @Nullable org.openrewrite.java.tree.J.Identifier getAlias()
    • withAlias

      public Cs.UsingDirective withAlias(@Nullable org.openrewrite.java.tree.J.Identifier alias)
    • getCoordinates

      public org.openrewrite.java.tree.CoordinateBuilder.Statement getCoordinates()
      Specified by:
      getCoordinates in interface org.openrewrite.java.tree.Statement
    • acceptCSharp

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

      public Cs.UsingDirective.Padding getPadding()