Package org.openrewrite.java
Class Java11Parser
- java.lang.Object
-
- org.openrewrite.java.Java11Parser
-
- All Implemented Interfaces:
org.openrewrite.java.JavaParser,org.openrewrite.Parser<org.openrewrite.java.tree.J.CompilationUnit>
public class Java11Parser extends java.lang.Object implements org.openrewrite.java.JavaParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJava11Parser.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Java11Parser.Builderbuilder()org.openrewrite.java.marker.JavaSourceSetgetSourceSet(org.openrewrite.ExecutionContext ctx)java.util.List<org.openrewrite.java.tree.J.CompilationUnit>parseInputs(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)org.openrewrite.java.JavaParserreset()voidsetClasspath(java.util.Collection<java.nio.file.Path> classpath)voidsetSourceSet(java.lang.String sourceSet)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
parseInputs
public java.util.List<org.openrewrite.java.tree.J.CompilationUnit> parseInputs(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)- Specified by:
parseInputsin interfaceorg.openrewrite.Parser<org.openrewrite.java.tree.J.CompilationUnit>
-
reset
public org.openrewrite.java.JavaParser reset()
- Specified by:
resetin interfaceorg.openrewrite.java.JavaParser- Specified by:
resetin interfaceorg.openrewrite.Parser<org.openrewrite.java.tree.J.CompilationUnit>
-
setClasspath
public void setClasspath(java.util.Collection<java.nio.file.Path> classpath)
- Specified by:
setClasspathin interfaceorg.openrewrite.java.JavaParser
-
setSourceSet
public void setSourceSet(java.lang.String sourceSet)
- Specified by:
setSourceSetin interfaceorg.openrewrite.java.JavaParser
-
getSourceSet
public org.openrewrite.java.marker.JavaSourceSet getSourceSet(org.openrewrite.ExecutionContext ctx)
- Specified by:
getSourceSetin interfaceorg.openrewrite.java.JavaParser
-
builder
public static Java11Parser.Builder builder()
-
-