Class JavaSourceSet

  • All Implemented Interfaces:
    org.openrewrite.marker.Marker, org.openrewrite.Tree

    public class JavaSourceSet
    extends java.lang.Object
    implements org.openrewrite.marker.Marker
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaSourceSet()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static JavaSourceSet build​(java.lang.String sourceSetName, java.util.Collection<java.nio.file.Path> classpath, JavaTypeCache typeCache, boolean fullTypeInformation)
      Extract type information from the provided 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.marker.Marker

        isAcceptable
      • Methods inherited from interface org.openrewrite.Tree

        accept, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed
    • Constructor Detail

      • JavaSourceSet

        public JavaSourceSet()
    • Method Detail

      • build

        public static JavaSourceSet build​(java.lang.String sourceSetName,
                                          java.util.Collection<java.nio.file.Path> classpath,
                                          JavaTypeCache typeCache,
                                          boolean fullTypeInformation)
        Extract type information from the provided classpath.
        Parameters:
        fullTypeInformation - when false classpath will be filled with shallow types (effectively just fully-qualified names). when true a much more memory-intensive, time-consuming approach will extract full type information