Package org.openrewrite.java.marker
Class JavaSourceSet
java.lang.Object
org.openrewrite.java.marker.JavaSourceSet
- All Implemented Interfaces:
org.openrewrite.marker.Marker,org.openrewrite.marker.SourceSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JavaSourceSetbuild(String sourceSetName, Collection<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, waitMethods inherited from interface org.openrewrite.marker.Marker
getId, print, withIdMethods inherited from interface org.openrewrite.marker.SourceSet
getName, withName
-
Constructor Details
-
JavaSourceSet
public JavaSourceSet()
-
-
Method Details
-
build
public static JavaSourceSet build(String sourceSetName, Collection<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
-