Package org.openrewrite.java
Class Java21Parser
java.lang.Object
org.openrewrite.java.Java21Parser
- All Implemented Interfaces:
org.openrewrite.java.JavaParser,org.openrewrite.Parser
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.Parser
org.openrewrite.Parser.Input -
Field Summary
Fields inherited from interface org.openrewrite.java.JavaParser
SKIP_SOURCE_SET_TYPE_GENERATION -
Method Summary
Modifier and TypeMethodDescriptionstatic Java21Parser.Builderbuilder()Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) org.openrewrite.java.JavaParserreset()org.openrewrite.java.JavaParserreset(Collection<URI> cus) voidsetClasspath(Collection<Path> classpath) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.java.JavaParser
accept, parse, parse, sourcePathFromSourceTextMethods inherited from interface org.openrewrite.Parser
accept, acceptedInputs, getCharset, parse, requirePrintEqualsInput
-
Method Details
-
parseInputs
public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx) - Specified by:
parseInputsin interfaceorg.openrewrite.Parser
-
reset
public org.openrewrite.java.JavaParser reset()- Specified by:
resetin interfaceorg.openrewrite.java.JavaParser- Specified by:
resetin interfaceorg.openrewrite.Parser
-
reset
- Specified by:
resetin interfaceorg.openrewrite.java.JavaParser
-
setClasspath
- Specified by:
setClasspathin interfaceorg.openrewrite.java.JavaParser
-
builder
-