diff --git a/openrewrite/src/javascript/remote/receiver.ts b/openrewrite/src/javascript/remote/receiver.ts index e3f3a0ca..8497d697 100644 --- a/openrewrite/src/javascript/remote/receiver.ts +++ b/openrewrite/src/javascript/remote/receiver.ts @@ -1,9 +1,9 @@ import * as extensions from "./remote_extensions"; import {Checksum, Cursor, FileAttributes, ListUtils, Tree} from '../../core'; import {DetailsReceiver, Receiver, ReceiverContext, ReceiverFactory, ValueType} from '@openrewrite/rewrite-remote'; -import {JavaScriptVisitor} from '../visitor'; +import {JavaScriptVisitor} from '..'; import {JS, JsLeftPadded, JsRightPadded, JsContainer, JsSpace, CompilationUnit, Alias, ArrowFunction, Await, DefaultType, Delete, Export, ExpressionStatement, FunctionType, JsImport, JsBinary, ObjectBindingDeclarations, PropertyAssignment, ScopedVariableDeclarations, StatementExpression, TemplateExpression, Tuple, TypeDeclaration, TypeOf, TypeOperator, Unary, Union, Void, Yield} from '../tree'; -import {Expression, J, JContainer, JLeftPadded, JRightPadded, NameTree, Space, Statement, TypeTree, TypedTree} from "../../java/tree"; +import {Expression, J, JContainer, JLeftPadded, JRightPadded, NameTree, Space, Statement, TypeTree, TypedTree} from "../../java"; import * as Java from "../../java/tree"; export class JavaScriptReceiver implements Receiver { diff --git a/openrewrite/src/javascript/remote/sender.ts b/openrewrite/src/javascript/remote/sender.ts index 902b8724..055105cc 100644 --- a/openrewrite/src/javascript/remote/sender.ts +++ b/openrewrite/src/javascript/remote/sender.ts @@ -1,7 +1,7 @@ import * as extensions from "./remote_extensions"; import {Cursor, ListUtils, Tree} from '../../core'; import {Sender, SenderContext, ValueType} from '@openrewrite/rewrite-remote'; -import {JavaScriptVisitor} from '../visitor'; +import {JavaScriptVisitor} from '..'; import {JS, JsLeftPadded, JsRightPadded, JsContainer, JsSpace, CompilationUnit, Alias, ArrowFunction, Await, DefaultType, Delete, Export, ExpressionStatement, FunctionType, JsImport, JsBinary, ObjectBindingDeclarations, PropertyAssignment, ScopedVariableDeclarations, StatementExpression, TemplateExpression, Tuple, TypeDeclaration, TypeOf, TypeOperator, Unary, Union, Void, Yield} from '../tree'; import {Expression, J, JContainer, JLeftPadded, JRightPadded, Space, Statement} from "../../java"; import * as Java from "../../java/tree"; diff --git a/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptReceiver.java b/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptReceiver.java index 22e9a9b2..c310d8af 100644 --- a/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptReceiver.java +++ b/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptReceiver.java @@ -13,6 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/* + * -------------------THIS FILE IS AUTO GENERATED-------------------------- + * Changes to this file may cause incorrect behavior and will be lost if + * the code is regenerated. +*/ + package org.openrewrite.javascript.remote; import lombok.Value; @@ -21,8 +28,10 @@ import org.openrewrite.Cursor; import org.openrewrite.FileAttributes; import org.openrewrite.Tree; +import org.openrewrite.marker.Markers; import org.openrewrite.javascript.JavaScriptVisitor; import org.openrewrite.javascript.tree.*; +import org.openrewrite.java.*; import org.openrewrite.java.tree.*; import org.openrewrite.remote.Receiver; import org.openrewrite.remote.ReceiverContext; @@ -30,6 +39,7 @@ import java.nio.charset.Charset; import java.nio.file.Path; +import java.util.List; import java.util.UUID; @Value diff --git a/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptSender.java b/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptSender.java index 4a4e334f..6e619826 100644 --- a/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptSender.java +++ b/rewrite-javascript-remote/src/main/java/org/openrewrite/javascript/remote/JavaScriptSender.java @@ -13,6 +13,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +/* + * -------------------THIS FILE IS AUTO GENERATED-------------------------- + * Changes to this file may cause incorrect behavior and will be lost if + * the code is regenerated. +*/ + package org.openrewrite.javascript.remote; import lombok.Value; @@ -21,6 +28,7 @@ import org.openrewrite.Tree; import org.openrewrite.javascript.JavaScriptVisitor; import org.openrewrite.javascript.tree.*; +import org.openrewrite.java.*; import org.openrewrite.java.tree.*; import org.openrewrite.remote.Sender; import org.openrewrite.remote.SenderContext;