Class Java17Parser

java.lang.Object
org.openrewrite.java.Java17Parser
All Implemented Interfaces:
org.openrewrite.java.JavaParser, org.openrewrite.Parser

public class Java17Parser extends Object implements org.openrewrite.java.JavaParser
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    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

    Modifier and Type
    Method
    Description
     
    Stream<org.openrewrite.SourceFile>
    parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable Path relativeTo, org.openrewrite.ExecutionContext ctx)
     
    org.openrewrite.java.JavaParser
     
    org.openrewrite.java.JavaParser
     
    void
     

    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 Details

    • parseInputs

      public Stream<org.openrewrite.SourceFile> parseInputs(Iterable<org.openrewrite.Parser.Input> sourceFiles, @Nullable @Nullable 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(Collection<URI> cus)
      Specified by:
      reset in interface org.openrewrite.java.JavaParser
    • setClasspath

      public void setClasspath(Collection<Path> classpath)
      Specified by:
      setClasspath in interface org.openrewrite.java.JavaParser
    • builder

      public static Java17Parser.Builder builder()