Package org.openrewrite.kotlin
Class Assertions
java.lang.Object
org.openrewrite.kotlin.Assertions
-
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>>static org.openrewrite.test.SourceSpecsstatic org.openrewrite.test.SourceSpecsstatic org.openrewrite.test.SourceSpecskotlin(@Nullable String before, String after, Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> spec) static org.openrewrite.test.SourceSpecskotlin(@Nullable String before, Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> spec) static org.openrewrite.test.SourceSpecssrcMainKotlin(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... kotlinSources) static org.openrewrite.test.SourceSpecssrcMainKotlin(org.openrewrite.test.SourceSpecs... kotlinSources) static org.openrewrite.test.SourceSpecssrcTestKotlin(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... kotlinSources) static org.openrewrite.test.SourceSpecssrcTestKotlin(org.openrewrite.test.SourceSpecs... kotlinSources)
-
Method Details
-
kotlin
public static org.openrewrite.test.SourceSpecs kotlin(@Language("kotlin") @Nullable @Nullable String before) -
kotlin
public static org.openrewrite.test.SourceSpecs kotlin(@Language("kotlin") @Nullable @Nullable String before, Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> spec) -
kotlin
-
kotlin
public static org.openrewrite.test.SourceSpecs kotlin(@Language("kotlin") @Nullable @Nullable String before, @Language("kotlin") String after, Consumer<org.openrewrite.test.SourceSpec<K.CompilationUnit>> spec) -
srcMainKotlin
public static org.openrewrite.test.SourceSpecs srcMainKotlin(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... kotlinSources) -
srcMainKotlin
public static org.openrewrite.test.SourceSpecs srcMainKotlin(org.openrewrite.test.SourceSpecs... kotlinSources) -
srcTestKotlin
public static org.openrewrite.test.SourceSpecs srcTestKotlin(Consumer<org.openrewrite.test.SourceSpec<org.openrewrite.SourceFile>> spec, org.openrewrite.test.SourceSpecs... kotlinSources) -
srcTestKotlin
public static org.openrewrite.test.SourceSpecs srcTestKotlin(org.openrewrite.test.SourceSpecs... kotlinSources) -
isFullyParsed
-