Package org.openrewrite.kotlin
Class KotlinParser
java.lang.Object
org.openrewrite.kotlin.KotlinParser
- All Implemented Interfaces:
org.openrewrite.Parser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumNested classes/interfaces inherited from interface org.openrewrite.Parser
org.openrewrite.Parser.Input -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic KotlinParser.Builderbuilder()static KotlinParser.Builderbuilder(KotlinParser.Builder base) org.openrewrite.java.marker.JavaSourceSetgetSourceSet(org.openrewrite.ExecutionContext ctx) Deprecated.Stream<org.openrewrite.SourceFile> parse(List<org.openrewrite.Parser.Input> sources, org.jetbrains.kotlin.com.intellij.openapi.Disposable disposable, org.openrewrite.ExecutionContext ctx) Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sources, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) reset()voidsetSourceSet(String sourceSet) Deprecated.sourcePathFromSourceText(Path prefix, String sourceCode) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.Parser
accept, acceptedInputs, getCharset, parse, parse, requirePrintEqualsInput
-
Field Details
-
SKIP_SOURCE_SET_TYPE_GENERATION
- See Also:
-
-
Constructor Details
-
KotlinParser
public KotlinParser()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceorg.openrewrite.Parser
-
parseInputs
public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sources, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) - Specified by:
parseInputsin interfaceorg.openrewrite.Parser
-
accept
- Specified by:
acceptin interfaceorg.openrewrite.Parser
-
reset
- Specified by:
resetin interfaceorg.openrewrite.Parser
-
setSourceSet
Deprecated. -
getSourceSet
@Deprecated public org.openrewrite.java.marker.JavaSourceSet getSourceSet(org.openrewrite.ExecutionContext ctx) Deprecated. -
sourcePathFromSourceText
- Specified by:
sourcePathFromSourceTextin interfaceorg.openrewrite.Parser
-
builder
-
builder
-
parse
public CompiledSource parse(List<org.openrewrite.Parser.Input> sources, org.jetbrains.kotlin.com.intellij.openapi.Disposable disposable, org.openrewrite.ExecutionContext ctx)
-