Class Java11Parser

  • All Implemented Interfaces:
    org.openrewrite.java.JavaParser, org.openrewrite.Parser

    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

        SKIP_SOURCE_SET_TYPE_GENERATION
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Java11Parser.Builder builder()  
      java.util.stream.Stream<org.openrewrite.SourceFile> parseInputs​(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable java.nio.file.Path relativeTo, org.openrewrite.ExecutionContext ctx)  
      org.openrewrite.java.JavaParser reset()  
      org.openrewrite.java.JavaParser reset​(java.util.Collection<java.net.URI> cus)  
      void setClasspath​(java.util.Collection<java.nio.file.Path> classpath)  
      • 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, requirePrintEqualsInput
    • Method Detail

      • parseInputs

        public java.util.stream.Stream<org.openrewrite.SourceFile> parseInputs​(java.lang.Iterable<org.openrewrite.Parser.Input> sourceFiles,
                                                                               @Nullable java.nio.file.Path relativeTo,
                                                                               org.openrewrite.ExecutionContext ctx)
        Specified by:
        parseInputs in interface org.openrewrite.Parser
      • reset

        public org.openrewrite.java.JavaParser reset()
        Specified by:
        reset in interface org.openrewrite.java.JavaParser
        Specified by:
        reset in interface org.openrewrite.Parser
      • reset

        public org.openrewrite.java.JavaParser reset​(java.util.Collection<java.net.URI> cus)
        Specified by:
        reset in interface org.openrewrite.java.JavaParser
      • setClasspath

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