Class JS.JSVariableDeclarations

java.lang.Object
org.openrewrite.javascript.tree.JS.JSVariableDeclarations
All Implemented Interfaces:
org.openrewrite.java.tree.J, org.openrewrite.java.tree.Statement, org.openrewrite.java.tree.TypedTree, JS, org.openrewrite.Tree
Enclosing interface:
JS

public static final class JS.JSVariableDeclarations extends Object implements JS, org.openrewrite.java.tree.Statement, org.openrewrite.java.tree.TypedTree
  • Constructor Details

    • JSVariableDeclarations

      public JSVariableDeclarations()
  • Method Details

    • getVariables

    • withVariables

    • acceptJavaScript

      public <P> org.openrewrite.java.tree.J acceptJavaScript(JavaScriptVisitor<P> v, P p)
      Specified by:
      acceptJavaScript in interface JS
    • getCoordinates

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

      public @Nullable org.openrewrite.java.tree.JavaType.FullyQualified getTypeAsFullyQualified()
    • getType

      public @Nullable org.openrewrite.java.tree.JavaType getType()
      Specified by:
      getType in interface org.openrewrite.java.tree.TypedTree
    • withType

      public JS.JSVariableDeclarations withType(@Nullable org.openrewrite.java.tree.JavaType type)
      Specified by:
      withType in interface org.openrewrite.java.tree.TypedTree
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hasModifier

      public boolean hasModifier(org.openrewrite.java.tree.J.Modifier.Type modifier)
    • getPadding

      public JS.JSVariableDeclarations.Padding getPadding()