Class 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 class  Java11Parser.Builder  
      • Nested classes/interfaces inherited from interface org.openrewrite.Parser

        org.openrewrite.Parser.Input
    • Field Summary

      • Fields inherited from interface org.openrewrite.java.JavaParser

        runtimeClasspath, SKIP_SOURCE_SET_TYPE_GENERATION
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Java11Parser.Builder builder()  
      org.openrewrite.java.marker.JavaSourceSet getSourceSet​(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.JavaParser reset()  
      void setClasspath​(java.util.Collection<java.nio.file.Path> classpath)  
      void setSourceSet​(java.lang.String sourceSet)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.openrewrite.java.JavaParser

        accept, parse, parse, sourcePathFromSourceText
      • Methods inherited from interface org.openrewrite.Parser

        accept, acceptedInputs, getCharset, parse
    • 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:
        parseInputs in interface org.openrewrite.Parser<org.openrewrite.java.tree.J.CompilationUnit>
      • reset

        public org.openrewrite.java.JavaParser reset()
        Specified by:
        reset in interface org.openrewrite.java.JavaParser
        Specified by:
        reset in interface org.openrewrite.Parser<org.openrewrite.java.tree.J.CompilationUnit>
      • setClasspath

        public void setClasspath​(java.util.Collection<java.nio.file.Path> classpath)
        Specified by:
        setClasspath in interface org.openrewrite.java.JavaParser
      • setSourceSet

        public void setSourceSet​(java.lang.String sourceSet)
        Specified by:
        setSourceSet in interface org.openrewrite.java.JavaParser
      • getSourceSet

        public org.openrewrite.java.marker.JavaSourceSet getSourceSet​(org.openrewrite.ExecutionContext ctx)
        Specified by:
        getSourceSet in interface org.openrewrite.java.JavaParser