Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Add accept header.
- accept(Path) - Method in class org.openrewrite.binary.BinaryParser
- accept(Path) - Method in interface org.openrewrite.Parser
- accept(Path) - Method in class org.openrewrite.quark.QuarkParser
- accept(Path) - Method in class org.openrewrite.text.PlainTextParser
- accept(Parser.Input) - Method in interface org.openrewrite.Parser
- accept(TreeVisitor<R, P>, P) - Method in class org.openrewrite.binary.Binary
- accept(TreeVisitor<R, P>, P) - Method in class org.openrewrite.quark.Quark
- accept(TreeVisitor<R, P>, P) - Method in interface org.openrewrite.remote.Remote
- accept(TreeVisitor<R, P>, P) - Method in class org.openrewrite.text.PlainText
- accept(TreeVisitor<R, P>, P) - Method in class org.openrewrite.text.PlainText.Snippet
- accept(TreeVisitor<R, P>, P) - Method in interface org.openrewrite.Tree
-
Supports polymorphic visiting via
TreeVisitor.visit(Tree, Object)
. - accept(TreeVisitor<R, P>, P) - Method in class org.openrewrite.tree.ParseError
- accept(T) - Method in interface org.openrewrite.internal.ThrowingConsumer
- accept0(T) - Method in interface org.openrewrite.internal.ThrowingConsumer
- acceptedInputs(Iterable<Parser.Input>) - Method in interface org.openrewrite.Parser
- acceptJson() - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Add header to accept
application/json
data. - Accumulator() - Constructor for class org.openrewrite.FindLstProvenance.Accumulator
- activateAll() - Method in class org.openrewrite.config.Environment
- activateRecipes(Iterable<String>) - Method in class org.openrewrite.config.Environment
- activateRecipes(String...) - Method in class org.openrewrite.config.Environment
- activateStyles(Iterable<String>) - Method in class org.openrewrite.config.Environment
- activateStyles(String...) - Method in class org.openrewrite.config.Environment
- adapt(Class<? extends V>) - Method in class org.openrewrite.TreeVisitor
- adapt(TreeVisitor<T, ?>, Class<Adapted>, TreeVisitor<? extends T, ?>...) - Static method in class org.openrewrite.internal.TreeVisitorAdapter
- add(Marker) - Method in class org.openrewrite.marker.Markers
-
Adds a new marker element to the collection.
- addDataTable(DataTable<?>) - Method in class org.openrewrite.Recipe
- addIfAbsent(M) - Method in class org.openrewrite.marker.Markers
-
Add a new marker or update some existing marker.
- addObserver(TreeObserver.Subscription) - Method in interface org.openrewrite.ExecutionContext
- addPrecondition(Recipe) - Method in class org.openrewrite.config.DeclarativeRecipe
- addUninitialized(String) - Method in class org.openrewrite.config.DeclarativeRecipe
- addUninitialized(Recipe) - Method in class org.openrewrite.config.DeclarativeRecipe
- addUninitializedPrecondition(String) - Method in class org.openrewrite.config.DeclarativeRecipe
- addUninitializedPrecondition(Recipe) - Method in class org.openrewrite.config.DeclarativeRecipe
- addValidation(Validated<Object>) - Method in class org.openrewrite.config.DeclarativeRecipe
- afterCycle(boolean) - Method in interface org.openrewrite.LargeSourceSet
-
Called by
RecipeScheduler
at the conclusion of a scan/generate/edit cycle. - afterSyntax(Marker, Cursor, UnaryOperator<String>) - Method in interface org.openrewrite.PrintOutputCapture.MarkerPrinter
- AIExecutionContextView - Class in org.openrewrite.ai
- AIExecutionContextView(ExecutionContext) - Constructor for class org.openrewrite.ai.AIExecutionContextView
- AlreadyReplaced - Class in org.openrewrite.marker
-
Ensure that the same replacement is not applied to the same file more than once per recipe run.
- AlreadyReplaced() - Constructor for class org.openrewrite.marker.AlreadyReplaced
- and(TreeVisitor<?, ExecutionContext>...) - Static method in class org.openrewrite.Preconditions
- and(Validated<? extends T>) - Method in interface org.openrewrite.Validated
- and(Validated<? extends T>) - Method in class org.openrewrite.Validated.None
- append(char) - Method in class org.openrewrite.PrintOutputCapture
- append(String) - Method in class org.openrewrite.PrintOutputCapture
- AppendToTextFile - Class in org.openrewrite.text
- AppendToTextFile() - Constructor for class org.openrewrite.text.AppendToTextFile
- AppendToTextFile.Strategy - Enum Class in org.openrewrite.text
- apply(Cursor, C, Object...) - Method in interface org.openrewrite.template.SourceTemplate
- applyDefaults() - Method in interface org.openrewrite.style.Style
- arrayOrNullIfEmpty(List<T>, T[]) - Static method in class org.openrewrite.internal.ListUtils
- aspectjNameToPattern(String) - Static method in class org.openrewrite.internal.StringUtils
- Attributes(File, FS) - Constructor for class org.eclipse.jgit.util.FS.Attributes
-
Constructor when there are issues with reading.
B
- baseTimeUnit(TimeUnit) - Method in class org.openrewrite.internal.LoggingMeterRegistry.Builder
- Bazel - Enum constant in enum class org.openrewrite.marker.BuildTool.Type
- Bazel - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- beforeCycle() - Method in interface org.openrewrite.LargeSourceSet
-
Called by
RecipeScheduler
at the beginning of a scan/generate/edit cycle. - beforePrefix(Marker, Cursor, UnaryOperator<String>) - Method in interface org.openrewrite.PrintOutputCapture.MarkerPrinter
- beforeSyntax(Marker, Cursor, UnaryOperator<String>) - Method in interface org.openrewrite.PrintOutputCapture.MarkerPrinter
- Binary - Class in org.openrewrite.binary
- Binary() - Constructor for class org.openrewrite.binary.Binary
- BinaryParser - Class in org.openrewrite.binary
-
Doesn't actually _parse_ anything, but if you want to wrap binary data into a SourceFile, this will do the trick
- BinaryParser() - Constructor for class org.openrewrite.binary.BinaryParser
- BinaryVisitor<P> - Class in org.openrewrite.binary
- BinaryVisitor() - Constructor for class org.openrewrite.binary.BinaryVisitor
- BitbucketBuildEnvironment - Class in org.openrewrite.marker.ci
- BitbucketBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.BitbucketBuildEnvironment
- Both(Validated<T>, Validated<T>) - Constructor for class org.openrewrite.Validated.Both
- BOTH - Enum constant in enum class org.openrewrite.config.CategoryTree.PrintNameStyle
- build() - Static method in class org.openrewrite.config.CategoryTree
- build() - Method in class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- build() - Method in class org.openrewrite.config.Environment.Builder
- build() - Method in class org.openrewrite.internal.LoggingMeterRegistry.Builder
- build() - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- build() - Method in class org.openrewrite.Parser.Builder
- build() - Method in class org.openrewrite.quark.QuarkParser.Builder
- build() - Method in class org.openrewrite.remote.Remote.Builder
- build() - Method in class org.openrewrite.text.PlainTextParser.Builder
- build(Class<? extends Parser>, Throwable, String) - Static method in class org.openrewrite.ParseExceptionResult
- build(String) - Static method in class org.openrewrite.semver.DependencyMatcher
- build(String) - Static method in class org.openrewrite.semver.ExactVersion
- build(String...) - Method in class org.openrewrite.remote.Remote.Builder
- build(String, String) - Static method in class org.openrewrite.semver.CaretRange
- build(String, String) - Static method in class org.openrewrite.semver.HyphenRange
- build(String, String) - Static method in class org.openrewrite.semver.LatestPatch
- build(String, String) - Static method in class org.openrewrite.semver.SetRange
- build(String, String) - Static method in class org.openrewrite.semver.TildeRange
- build(String, String) - Static method in class org.openrewrite.semver.XRange
- build(String, HttpSender) - Static method in class org.openrewrite.ipc.http.HttpSender.Request
- build(Path) - Method in class org.openrewrite.remote.Remote.Builder
- build(Collection<? extends Marker>) - Static method in class org.openrewrite.marker.Markers
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.BitbucketBuildEnvironment
- build(UnaryOperator<String>) - Static method in interface org.openrewrite.marker.ci.BuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.CircleCiBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.CustomBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.DroneBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.GithubActionsBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.GitlabBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.JenkinsBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.TeamcityBuildEnvironment
- build(UnaryOperator<String>) - Static method in class org.openrewrite.marker.ci.TravisBuildEnvironment
- build(Changeset, int, ExecutionContext) - Static method in class org.openrewrite.table.SourcesFileResults
- build(Parser, Throwable) - Static method in class org.openrewrite.ParseExceptionResult
- build(Parser, Throwable) - Static method in class org.openrewrite.ParseWarning
- build(Parser, Throwable, String) - Static method in class org.openrewrite.ParseExceptionResult
- build(Parser, Parser.Input, Path, ExecutionContext, Throwable) - Static method in class org.openrewrite.tree.ParseError
- BuildEnvironment - Interface in org.openrewrite.marker.ci
- builder() - Static method in class org.openrewrite.config.CategoryTree.PrintOptions
- builder() - Static method in class org.openrewrite.config.Environment
- builder() - Static method in class org.openrewrite.internal.LoggingMeterRegistry
- builder() - Static method in class org.openrewrite.quark.QuarkParser
- builder() - Static method in class org.openrewrite.text.PlainTextParser
- builder(Path, URI) - Static method in interface org.openrewrite.remote.Remote
- builder(Properties) - Static method in class org.openrewrite.config.Environment
- builder(UUID, Path, Markers, URI) - Static method in interface org.openrewrite.remote.Remote
- builder(SourceFile, URI) - Static method in interface org.openrewrite.remote.Remote
- Builder() - Constructor for class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- Builder() - Constructor for class org.openrewrite.internal.LoggingMeterRegistry.Builder
- Builder() - Constructor for class org.openrewrite.Parser.Builder
- Builder() - Constructor for class org.openrewrite.quark.QuarkParser.Builder
- Builder() - Constructor for class org.openrewrite.text.PlainTextParser.Builder
- Builder(Properties) - Constructor for class org.openrewrite.config.Environment.Builder
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.BitbucketBuildEnvironment
- buildGitProvenance() - Method in interface org.openrewrite.marker.ci.BuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.CircleCiBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.CustomBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.DroneBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.GithubActionsBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.GitlabBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.JenkinsBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.TeamcityBuildEnvironment
- buildGitProvenance() - Method in class org.openrewrite.marker.ci.TravisBuildEnvironment
- buildLatestRelease(String, String) - Static method in class org.openrewrite.semver.LatestRelease
- BuildMetadata - Class in org.openrewrite.marker
- BuildMetadata() - Constructor for class org.openrewrite.marker.BuildMetadata
- BuildTool - Class in org.openrewrite.marker
- BuildTool() - Constructor for class org.openrewrite.marker.BuildTool
- BuildTool.Type - Enum Class in org.openrewrite.marker
- BuildToolFailure - Class in org.openrewrite.marker
-
Deprecated.Only included for backwards compatibility with old LSTs.
- BuildToolFailure() - Constructor for class org.openrewrite.marker.BuildToolFailure
-
Deprecated.
C
- canExecute(File) - Method in class org.eclipse.jgit.util.FS
-
Determine if the file is executable (or not).
- capitalize(String) - Static method in class org.openrewrite.internal.StringUtils
- CaretRange - Class in org.openrewrite.semver
-
Allows changes that do not modify the left-most non-zero element in the [major, minor, patch] tuple.
- cast() - Method in interface org.openrewrite.Tree
- CategoryDescriptor - Class in org.openrewrite.config
- CategoryDescriptor() - Constructor for class org.openrewrite.config.CategoryDescriptor
- CategoryTree<G> - Class in org.openrewrite.config
-
A hierarchical listing of recipe categories and the recipes that are contained inside them.
- CategoryTree.PrintNameStyle - Enum Class in org.openrewrite.config
- CategoryTree.PrintOptions - Class in org.openrewrite.config
- CategoryTree.PrintOptions.Builder - Class in org.openrewrite.config
- CategoryTree.Root<G> - Class in org.openrewrite.config
- causesAnotherCycle() - Method in class org.openrewrite.config.DeclarativeRecipe
- causesAnotherCycle() - Method in class org.openrewrite.Recipe
- Changeset - Interface in org.openrewrite
- ChangeText - Class in org.openrewrite.text
- ChangeText() - Constructor for class org.openrewrite.text.ChangeText
- charset(Charset) - Method in class org.openrewrite.remote.Remote.Builder
- charsetBomMarked(boolean) - Method in class org.openrewrite.remote.Remote.Builder
- check(boolean, TreeVisitor<?, ExecutionContext>) - Static method in class org.openrewrite.Preconditions
- check(Recipe, TreeVisitor<?, ExecutionContext>) - Static method in class org.openrewrite.Preconditions
- check(TreeVisitor<?, ExecutionContext>, TreeVisitor<?, ExecutionContext>) - Static method in class org.openrewrite.Preconditions
- checksum - Variable in class org.openrewrite.remote.Remote.Builder
- checksum(Checksum) - Method in class org.openrewrite.remote.Remote.Builder
- checksum(SourceFile, String, ExecutionContext) - Static method in class org.openrewrite.Checksum
- Checksum - Class in org.openrewrite
- Checksum() - Constructor for class org.openrewrite.Checksum
- Choice() - Constructor for class org.openrewrite.ai.CodeEditResponse.Choice
- CircleCiBuildEnvironment - Class in org.openrewrite.marker.ci
- CircleCiBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.CircleCiBuildEnvironment
- ClasspathReport - Class in org.openrewrite.table
- ClasspathReport(Recipe) - Constructor for class org.openrewrite.table.ClasspathReport
- ClasspathReport.Row - Class in org.openrewrite.table
- ClasspathScanningLoader - Class in org.openrewrite.config
- ClasspathScanningLoader(Path, Properties, Collection<? extends ResourceLoader>, ClassLoader) - Constructor for class org.openrewrite.config.ClasspathScanningLoader
- ClasspathScanningLoader(Properties, ClassLoader) - Constructor for class org.openrewrite.config.ClasspathScanningLoader
-
Construct a ClasspathScanningLoader scans the provided classload for recipes
- ClasspathScanningLoader(Properties, String[]) - Constructor for class org.openrewrite.config.ClasspathScanningLoader
-
Construct a ClasspathScanningLoader scans the runtime classpath of the current java process for recipes
- clearMessages() - Method in class org.openrewrite.Cursor
- Cli - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- clone() - Method in class org.openrewrite.Parser.Builder
- clone() - Method in class org.openrewrite.PrintOutputCapture
- clone() - Method in class org.openrewrite.Recipe
- close() - Method in class org.eclipse.jgit.util.FS.LockToken
- close() - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- close() - Method in class org.openrewrite.internal.InMemoryDiffEntry
- close() - Method in class org.openrewrite.ipc.http.HttpSender.Response
- CobolCli - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- CodeEditRequest - Class in org.openrewrite.ai
- CodeEditRequest() - Constructor for class org.openrewrite.ai.CodeEditRequest
- CodeEditResponse - Class in org.openrewrite.ai
- CodeEditResponse() - Constructor for class org.openrewrite.ai.CodeEditResponse
- CodeEditResponse.Choice - Class in org.openrewrite.ai
- CodeEditResponse.Error - Class in org.openrewrite.ai
- collect(TreeVisitor<?, ExecutionContext>, Tree, C) - Static method in class org.openrewrite.TreeVisitor
- collect(TreeVisitor<?, ExecutionContext>, Tree, C, Class<U>, Function<U, R>) - Static method in class org.openrewrite.TreeVisitor
- CollidingSourceFiles - Class in org.openrewrite.table
- CollidingSourceFiles(Recipe) - Constructor for class org.openrewrite.table.CollidingSourceFiles
- CollidingSourceFiles.Row - Class in org.openrewrite.table
- Column - Annotation Interface in org.openrewrite
- ColumnDescriptor - Class in org.openrewrite.config
- ColumnDescriptor() - Constructor for class org.openrewrite.config.ColumnDescriptor
- CommitMessage - Class in org.openrewrite.marker
-
A marker that indicates an extra message to be appended to the message of any commit generated from the recipe run.
- CommitMessage() - Constructor for class org.openrewrite.marker.CommitMessage
- CommitsByDay - Class in org.openrewrite.table
- CommitsByDay(Recipe) - Constructor for class org.openrewrite.table.CommitsByDay
- CommitsByDay.Row - Class in org.openrewrite.table
- Committer() - Constructor for class org.openrewrite.marker.GitProvenance.Committer
- commonMargin(CharSequence, CharSequence) - Static method in class org.openrewrite.internal.StringUtils
- compare(String, String, String) - Method in class org.openrewrite.semver.LatestPatch
- compare(String, String, String) - Method in class org.openrewrite.semver.LatestRelease
- compare(String, String, String) - Method in interface org.openrewrite.semver.VersionComparator
- compare(String, String) - Method in interface org.openrewrite.semver.VersionComparator
-
Deprecated.
- CompositeRecipe - Class in org.openrewrite.config
-
A recipe that exists only to wrap other recipes.
- CompositeRecipe() - Constructor for class org.openrewrite.config.CompositeRecipe
- compress() - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Add a "Content-Encoding" header of "gzip" and compress the request body.
- compressWhen(Supplier<Boolean>) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Add a "Content-Encoding" header of "gzip" and compress the request body when the supplied condition is true.
- compute(URI, Callable<InputStream>, Consumer<Throwable>) - Method in interface org.openrewrite.remote.RemoteArtifactCache
- compute(M, BinaryOperator<M>) - Method in class org.openrewrite.marker.Markers
-
Add a new marker or update some existing marker.
- computeByType(M, BinaryOperator<M>) - Method in class org.openrewrite.marker.Markers
-
Add a new marker or update some existing marker.
- computeMessage(String, V, Supplier<T>, BiFunction<V, ? super T, ? extends T>) - Method in interface org.openrewrite.ExecutionContext
- computeMessageIfAbsent(String, Function<String, ? extends T>) - Method in class org.openrewrite.Cursor
- concat(List<T>, T) - Static method in class org.openrewrite.internal.ListUtils
- concat(T, List<T>) - Static method in class org.openrewrite.internal.ListUtils
- concatAll(List<T>, List<? extends T>) - Static method in class org.openrewrite.internal.ListUtils
- configureAttributesPathCache(int, float) - Static method in class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Configures size and purge factor of the path-based cache for file system attributes.
- constructRecipe(Class<?>) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- containsCircularReferences(Throwable) - Static method in class org.openrewrite.internal.ExceptionUtils
- containsOnlyWhitespaceAndComments(String) - Static method in class org.openrewrite.internal.StringUtils
- Continue - Enum constant in enum class org.openrewrite.text.AppendToTextFile.Strategy
- Contributor - Class in org.openrewrite
- Contributor() - Constructor for class org.openrewrite.Contributor
- contributors - Variable in class org.openrewrite.Recipe
- convert(SourceFile) - Static method in class org.openrewrite.text.PlainTextParser
-
Downcast a
SourceFile
to aPlainText
if it isn't already one. - Coordinates - Interface in org.openrewrite.template
-
Uniquely specifies the target position of an intended templating operation inside an AST.
- countOccurrences(String, String) - Static method in class org.openrewrite.internal.StringUtils
-
Return the number of times a substring occurs within a target string.
- create(List<Recipe>) - Static method in class org.openrewrite.marker.RecipesThatMadeChanges
- CreateFileVisitor - Class in org.openrewrite
- CreateFileVisitor() - Constructor for class org.openrewrite.CreateFileVisitor
- createNewFile(File) - Method in class org.eclipse.jgit.util.FS
-
Deprecated.use
FS.createNewFileAtomic(File)
instead - createNewFileAtomic(File) - Method in class org.eclipse.jgit.util.FS
-
Create a new file.
- createRecipeDescriptor() - Method in class org.openrewrite.config.DeclarativeRecipe
- createRecipeDescriptor() - Method in class org.openrewrite.Recipe
- createSymLink(File, String) - Method in class org.eclipse.jgit.util.FS
-
Create a symbolic link
- CreateTextFile - Class in org.openrewrite.text
- CreateTextFile() - Constructor for class org.openrewrite.text.CreateTextFile
- CRLF - Enum constant in enum class org.openrewrite.marker.GitProvenance.EOL
- CRLF - Enum constant in enum class org.openrewrite.marker.OperatingSystemProvenance.EOL
- current() - Static method in class org.openrewrite.marker.OperatingSystemProvenance
- CURRENT_CYCLE - Static variable in interface org.openrewrite.ExecutionContext
- CURRENT_RECIPE - Static variable in interface org.openrewrite.ExecutionContext
- Cursor - Class in org.openrewrite
- Cursor(Cursor, Object) - Constructor for class org.openrewrite.Cursor
- CustomBuildEnvironment - Class in org.openrewrite.marker.ci
- CustomBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.CustomBuildEnvironment
D
- DATA_TABLES - Static variable in interface org.openrewrite.ExecutionContext
- DataTable<Row> - Class in org.openrewrite
- DataTable(Recipe, Class<Row>, String, String, String) - Constructor for class org.openrewrite.DataTable
- DataTable(Recipe, String, String) - Constructor for class org.openrewrite.DataTable
- DataTableDescriptor - Class in org.openrewrite.config
- DataTableDescriptor() - Constructor for class org.openrewrite.config.DataTableDescriptor
- dataTableDescriptorFromDataTable(DataTable<?>) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- debug(T, String) - Static method in interface org.openrewrite.marker.Markup
- debug(T, String, String) - Static method in interface org.openrewrite.marker.Markup
- Debug() - Constructor for class org.openrewrite.marker.Markup.Debug
- DeclarativeNamedStyles - Class in org.openrewrite.config
- DeclarativeNamedStyles(UUID, String, String, String, Set<String>, Collection<Style>) - Constructor for class org.openrewrite.config.DeclarativeNamedStyles
- DeclarativeRecipe - Class in org.openrewrite.config
- DeclarativeRecipe() - Constructor for class org.openrewrite.config.DeclarativeRecipe
- DEFAULT - Static variable in interface org.openrewrite.PrintOutputCapture.MarkerPrinter
- DEFAULT_PRECEDENCE - Static variable in class org.openrewrite.config.CategoryDescriptor
- defaultHistogramConfig() - Method in class org.openrewrite.internal.LoggingMeterRegistry
- defaultValue(Tree, P) - Method in class org.openrewrite.TreeVisitor
- DelegatingExecutionContext - Class in org.openrewrite
- DelegatingExecutionContext(ExecutionContext) - Constructor for class org.openrewrite.DelegatingExecutionContext
- delete(File) - Method in class org.eclipse.jgit.util.FS
-
Delete a file.
- delete(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- DELETE - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- DeleteSourceFiles - Class in org.openrewrite
- DeleteSourceFiles() - Constructor for class org.openrewrite.DeleteSourceFiles
- DependencyMatcher - Class in org.openrewrite.semver
- DependencyMatcher(String, String, VersionComparator) - Constructor for class org.openrewrite.semver.DependencyMatcher
- description - Variable in class org.openrewrite.remote.Remote.Builder
- description() - Element in annotation interface org.openrewrite.Column
- description() - Element in annotation interface org.openrewrite.Option
- description(String) - Method in class org.openrewrite.remote.Remote.Builder
- DeserializationError - Class in org.openrewrite.marker
- DeserializationError(UUID, String, Throwable) - Constructor for class org.openrewrite.marker.DeserializationError
- detect() - Static method in class org.eclipse.jgit.util.FS
-
Auto-detect the appropriate file system abstraction.
- detect(Boolean) - Static method in class org.eclipse.jgit.util.FS
-
Auto-detect the appropriate file system abstraction, taking into account the presence of a Cygwin installation on the system.
- detect(Boolean) - Method in class org.eclipse.jgit.util.FS.FSFactory
-
Detect the file system
- DETECTED - Static variable in class org.eclipse.jgit.util.FS
-
The auto-detected implementation selected for this operating system and JRE.
- diff() - Method in class org.openrewrite.Result
- diff(Path) - Method in class org.openrewrite.Result
- diff(Path, PrintOutputCapture.MarkerPrinter) - Method in class org.openrewrite.Result
- diff(Path, PrintOutputCapture.MarkerPrinter, Boolean) - Method in class org.openrewrite.Result
- diff(String, String, Path) - Static method in class org.openrewrite.Result
- discoverGitExe() - Method in class org.eclipse.jgit.util.FS
-
Discover the path to the Git executable.
- discoverGitSystemConfig() - Method in class org.eclipse.jgit.util.FS
-
Discover the path to the system-wide Git configuration file
- DISPLAY_NAME - Enum constant in enum class org.openrewrite.config.CategoryTree.PrintNameStyle
- displayName() - Element in annotation interface org.openrewrite.Column
- displayName() - Element in annotation interface org.openrewrite.Option
- distinctBy(Function<? super T, ?>) - Static method in class org.openrewrite.internal.StreamUtils
- DistinctCommitters - Class in org.openrewrite.table
- DistinctCommitters(Recipe) - Constructor for class org.openrewrite.table.DistinctCommitters
- DistinctCommitters.Row - Class in org.openrewrite.table
- DistinctGitProvenance - Class in org.openrewrite.table
- DistinctGitProvenance(Recipe) - Constructor for class org.openrewrite.table.DistinctGitProvenance
- DistinctGitProvenance.Row - Class in org.openrewrite.table
- doAfterVisit(TreeVisitor<?, P>) - Method in class org.openrewrite.TreeVisitor
-
Execute the visitor once after the whole source file has been visited.
- DocumentExample - Annotation Interface in org.openrewrite
-
Mark a test as a good recipe example to present on document/web pages.
- DroneBuildEnvironment - Class in org.openrewrite.marker.ci
- DroneBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.DroneBuildEnvironment
- dropParentUntil(Predicate<Object>) - Method in class org.openrewrite.Cursor
- dropParentWhile(Predicate<Object>) - Method in class org.openrewrite.Cursor
E
- edit(UnaryOperator<SourceFile>) - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- edit(UnaryOperator<SourceFile>) - Method in interface org.openrewrite.LargeSourceSet
-
Execute a transformation on all items.
- editSources(LSS) - Method in class org.openrewrite.scheduling.RecipeRunCycle
- Either(Validated<T>, Validated<T>) - Constructor for class org.openrewrite.Validated.Either
- EMPTY - Static variable in class org.openrewrite.marker.Markers
- EncodingDetectingInputStream - Class in org.openrewrite.internal
- EncodingDetectingInputStream(InputStream) - Constructor for class org.openrewrite.internal.EncodingDetectingInputStream
- EncodingDetectingInputStream(InputStream, Charset) - Constructor for class org.openrewrite.internal.EncodingDetectingInputStream
- EndOfLineAtEndOfFile - Class in org.openrewrite.text
- EndOfLineAtEndOfFile() - Constructor for class org.openrewrite.text.EndOfLineAtEndOfFile
- entries() - Method in class org.openrewrite.marker.Markers
-
TreeVisitor
may respond to a marker to determine whether to act on a source file or not. - Environment - Class in org.openrewrite.config
- Environment(Collection<? extends ResourceLoader>) - Constructor for class org.openrewrite.config.Environment
- Environment(Collection<? extends ResourceLoader>, Collection<? extends ResourceLoader>) - Constructor for class org.openrewrite.config.Environment
- Environment.Builder - Class in org.openrewrite.config
- equalIgnoringSeparators(String, String) - Static method in class org.openrewrite.PathUtils
-
Compare two strings representing file paths, returning true if they indicate the same path regardless of separators
- equalIgnoringSeparators(Path, Path) - Static method in class org.openrewrite.PathUtils
-
Compare two paths, returning true if they indicate the same path, regardless of separators.
- equals(Object) - Method in class org.openrewrite.Parser.Input
- equals(Object) - Method in class org.openrewrite.Recipe
- equalsRelaxedBinding(String, String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
-
Check equality between two inputs using "relaxed binding" rules.
- error(T, Throwable) - Static method in interface org.openrewrite.marker.Markup
- Error() - Constructor for class org.openrewrite.ai.CodeEditResponse.Error
- Error(UUID, String, String) - Constructor for class org.openrewrite.marker.Markup.Error
- Error(UUID, Throwable) - Constructor for class org.openrewrite.marker.Markup.Error
- errorTags(Timer.Builder, String, Throwable) - Static method in class org.openrewrite.internal.MetricsHelper
- errorTags(Timer.Builder, Throwable) - Static method in class org.openrewrite.internal.MetricsHelper
- ExactVersion - Class in org.openrewrite.semver
- ExactVersion(String) - Constructor for class org.openrewrite.semver.ExactVersion
- example() - Element in annotation interface org.openrewrite.Option
- examples - Variable in class org.openrewrite.Recipe
- ExceptionUtils - Class in org.openrewrite.internal
- ExceptionUtils() - Constructor for class org.openrewrite.internal.ExceptionUtils
- execute(ProcessBuilder, InputStream) - Method in class org.eclipse.jgit.util.FS
-
Execute a command defined by a
ProcessBuilder
. - ExecutionContext - Interface in org.openrewrite
-
Passes messages between individual visitors or parsing operations and allows errors to be propagated back to the process controlling parsing or recipe execution.
- ExecutionResult(TemporaryBuffer, TemporaryBuffer, int) - Constructor for class org.eclipse.jgit.util.FS.ExecutionResult
- exists(File) - Method in class org.eclipse.jgit.util.FS
-
Tests if the path exists, in case of a symbolic link, true even if the target does not exist
F
- failures() - Method in interface org.openrewrite.Validated
- FALLBACK_FILESTORE_ATTRIBUTES - Static variable in class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Fallback FileStore attributes used when we can't measure the filesystem timestamp resolution.
- FALLBACK_TIMESTAMP_RESOLUTION - Static variable in class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Fallback filesystem timestamp resolution.
- False - Enum constant in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
- fileAttributes(File) - Method in class org.eclipse.jgit.util.FS
-
Return all the attributes of a file, without following symbolic links.
- fileAttributes(FileAttributes) - Method in class org.openrewrite.remote.Remote.Builder
- FileAttributes - Class in org.openrewrite
- FileAttributes() - Constructor for class org.openrewrite.FileAttributes
- FileListing - Class in org.openrewrite.marker
- FileListing() - Constructor for class org.openrewrite.marker.FileListing
- FileStoreAttributes(Duration) - Constructor for class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Construct a FileStoreAttributeCache entry for the given filesystem timestamp resolution
- Find - Class in org.openrewrite.text
- Find() - Constructor for class org.openrewrite.text.Find
- findAll(Class<M>) - Method in class org.openrewrite.marker.Markers
- findAllInPath(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- FindAndReplace - Class in org.openrewrite.text
- FindAndReplace() - Constructor for class org.openrewrite.text.FindAndReplace
- findAny() - Method in class org.openrewrite.Validated.Either
- FindBuildMetadata - Class in org.openrewrite.search
- FindBuildMetadata() - Constructor for class org.openrewrite.search.FindBuildMetadata
- findClass(String) - Method in class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- FindCollidingSourceFiles - Class in org.openrewrite
- FindCollidingSourceFiles() - Constructor for class org.openrewrite.FindCollidingSourceFiles
- FindCommitters - Class in org.openrewrite.search
- FindCommitters() - Constructor for class org.openrewrite.search.FindCommitters
- findFirst(Class<M>) - Method in class org.openrewrite.marker.Markers
- FindGitProvenance - Class in org.openrewrite
- FindGitProvenance() - Constructor for class org.openrewrite.FindGitProvenance
- findHook(Repository, String) - Method in class org.eclipse.jgit.util.FS
-
Tries to find a hook matching the given one in the given repository.
- findInPath(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
-
Locates the given executable in the system path.
- FindLstProvenance - Class in org.openrewrite
- FindLstProvenance() - Constructor for class org.openrewrite.FindLstProvenance
- FindLstProvenance.Accumulator - Class in org.openrewrite
- findMethod(Class<?>, String, Class<?>...) - Static method in class org.openrewrite.internal.ReflectionUtils
- FindMultiselect - Class in org.openrewrite.text
- FindMultiselect() - Constructor for class org.openrewrite.text.FindMultiselect
- findNonNullFields(Class<?>) - Static method in class org.openrewrite.internal.lang.NullUtils
-
The method uses reflection to find all declared fields of a class that have been marked (via commonly used annotations) as being Non-Null, or a required
Option
. - FindParseFailures - Class in org.openrewrite
- FindParseFailures() - Constructor for class org.openrewrite.FindParseFailures
- FindParseToPrintInequality - Class in org.openrewrite.search
- FindParseToPrintInequality() - Constructor for class org.openrewrite.search.FindParseToPrintInequality
- FindQuarks - Class in org.openrewrite
- FindQuarks() - Constructor for class org.openrewrite.FindQuarks
- FindRecipeRunException - Class in org.openrewrite.internal
- FindRecipeRunException(RecipeRunException) - Constructor for class org.openrewrite.internal.FindRecipeRunException
- FindSourceFiles - Class in org.openrewrite
- FindSourceFiles() - Constructor for class org.openrewrite.FindSourceFiles
- firstAcceptable(TreeVisitor<?, ExecutionContext>...) - Static method in class org.openrewrite.Preconditions
- firstEnclosing(Class<T>) - Method in class org.openrewrite.Cursor
- firstEnclosingOrThrow(Class<T>) - Method in class org.openrewrite.Cursor
- flatMap(List<T>, BiFunction<Integer, T, Object>) - Static method in class org.openrewrite.internal.ListUtils
- flatMap(List<T>, Function<T, Object>) - Static method in class org.openrewrite.internal.ListUtils
- flush(ExecutionContext) - Method in class org.openrewrite.table.RecipeRunStats
- fork() - Method in class org.openrewrite.Cursor
-
Creates a cursor at the same position, but with its own messages that can't influence the messages of the cursor that was forked.
- format(String) - Method in enum class org.openrewrite.internal.NameCaseConvention
-
Formats the input to the style of this
NameCaseConvention
. - format(NameCaseConvention, String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
- formatUriForPropertiesFile(String) - Static method in class org.openrewrite.internal.StringUtils
- forName(String) - Static method in class org.openrewrite.marker.OperatingSystemProvenance
- found(T) - Static method in class org.openrewrite.marker.SearchResult
- found(T, String) - Static method in class org.openrewrite.marker.SearchResult
- FREE_BSD - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- fromHex(String, String) - Static method in class org.openrewrite.Checksum
- fromPath(Path) - Static method in class org.openrewrite.FileAttributes
- fromProjectDirectory(Path) - Static method in class org.openrewrite.marker.GitProvenance
-
Deprecated.Use
instead
. - fromProjectDirectory(Path, BuildEnvironment) - Static method in class org.openrewrite.marker.GitProvenance
- fromResource(String) - Static method in class org.openrewrite.Parser.Input
- fromResource(String, String) - Static method in class org.openrewrite.Parser.Input
- fromResource(String, String, Charset) - Static method in class org.openrewrite.Parser.Input
- fromString(String) - Static method in class org.openrewrite.Parser.Input
- fromString(String, Charset) - Static method in class org.openrewrite.Parser.Input
- fromString(Path, String) - Static method in class org.openrewrite.Parser.Input
- fromString(Path, String, Charset) - Static method in class org.openrewrite.Parser.Input
- fromUri(HttpSender, URI) - Static method in class org.openrewrite.Checksum
-
Interprets the URI as pointing to a UTF-8 encoded text file which contains only a base-16 number representing a checksum.
- fromUri(HttpSender, URI, String) - Static method in class org.openrewrite.Checksum
- FS - Class in org.eclipse.jgit.util
-
!!!THIS SOURCE FILE HAS BEEN MODIFIED!!! Abstraction to support various file system operations not in Java.
- FS() - Constructor for class org.eclipse.jgit.util.FS
-
Constructs a file system abstraction.
- FS(FS) - Constructor for class org.eclipse.jgit.util.FS
-
Initialize this FS using another's current settings.
- FS.Attributes - Class in org.eclipse.jgit.util
-
File attributes we typically care for.
- FS.ExecutionResult - Class in org.eclipse.jgit.util
-
Result of an executed process.
- FS.FileStoreAttributes - Class in org.eclipse.jgit.util
-
Attributes of FileStores on this system
- FS.FSFactory - Class in org.eclipse.jgit.util
-
This class creates FS instances.
- FS.LockToken - Class in org.eclipse.jgit.util
-
A token representing a file created by
FS.createNewFileAtomic(File)
. - FSFactory() - Constructor for class org.eclipse.jgit.util.FS.FSFactory
-
Constructor
G
- GeneralFormatStyle - Class in org.openrewrite.style
- GeneralFormatStyle() - Constructor for class org.openrewrite.style.GeneralFormatStyle
- generate(Collection<? extends SourceFile>) - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- generate(Collection<? extends SourceFile>) - Method in interface org.openrewrite.LargeSourceSet
-
Concatenate new items.
- generate(Void, ExecutionContext) - Method in class org.openrewrite.ListRuntimeClasspath
- generate(AtomicBoolean, Collection<SourceFile>, ExecutionContext) - Method in class org.openrewrite.text.AppendToTextFile
- generate(AtomicBoolean, ExecutionContext) - Method in class org.openrewrite.text.CreateTextFile
- generate(Map<String, GitProvenance.Committer>, ExecutionContext) - Method in class org.openrewrite.search.FindCommitters
- generate(Set<GitProvenance>, ExecutionContext) - Method in class org.openrewrite.FindGitProvenance
- generate(FindCollidingSourceFiles.Accumulator, ExecutionContext) - Method in class org.openrewrite.FindCollidingSourceFiles
- generate(T, Collection<SourceFile>, ExecutionContext) - Method in class org.openrewrite.ScanningRecipe
-
Generate new source files to add to the repository using information collected from scanning.
- generate(T, ExecutionContext) - Method in class org.openrewrite.ScanningRecipe
-
Generate new source files to add to the repository using information collected from scanning.
- Generated - Class in org.openrewrite.marker
-
Indicates a source file that is generated (e.g.
- Generated() - Constructor for class org.openrewrite.marker.Generated
- generateSources(LSS) - Method in class org.openrewrite.scheduling.RecipeRunCycle
- get(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- get(URI) - Method in class org.openrewrite.remote.LocalRemoteArtifactCache
- get(URI) - Method in interface org.openrewrite.remote.RemoteArtifactCache
- get(Path) - Static method in class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Get the FileStoreAttributes for the given FileStore
- GET - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- getAccumulator(Cursor, ExecutionContext) - Method in class org.openrewrite.ScanningRecipe
- getAfterVisit() - Method in class org.openrewrite.TreeVisitor
- getAllResults() - Method in interface org.openrewrite.Changeset
- getArtifactCache() - Method in class org.openrewrite.remote.RemoteExecutionContextView
- getAttributes(File) - Method in class org.eclipse.jgit.util.FS
-
Get the file attributes we care for.
- getBaseTimeUnit() - Method in class org.openrewrite.internal.LoggingMeterRegistry
- getBefore(Path) - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- getBefore(Path) - Method in interface org.openrewrite.LargeSourceSet
-
Get the original source file, before any edits.
- getBody() - Method in class org.openrewrite.ipc.http.HttpSender.Response
- getBodyAsBytes() - Method in class org.openrewrite.ipc.http.HttpSender.Response
- getBuildUrl() - Method in class org.openrewrite.marker.ci.DroneBuildEnvironment
- getCategories() - Method in class org.openrewrite.config.CategoryTree
- getCategories(boolean, boolean) - Method in class org.openrewrite.config.CategoryTree
-
Used to recursively navigate the whole category tree without any advance knowledge of what categories exist.
- getCategory(String) - Method in class org.openrewrite.config.CategoryTree
- getCategory(String...) - Method in class org.openrewrite.config.CategoryTree
- getCategoryOrThrow(String) - Method in class org.openrewrite.config.CategoryTree
- getCategoryOrThrow(String...) - Method in class org.openrewrite.config.CategoryTree
- getChangeset() - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- getChangeset() - Method in interface org.openrewrite.LargeSourceSet
- getCharset() - Method in class org.openrewrite.binary.Binary
- getCharset() - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- getCharset() - Method in class org.openrewrite.quark.Quark
- getCharset() - Method in interface org.openrewrite.SourceFile
- getCharset() - Method in class org.openrewrite.text.PlainText
- getCharset() - Method in class org.openrewrite.text.TextStyle
- getCharset() - Method in class org.openrewrite.tree.ParseError
- getCharset() - Method in class org.openrewrite.tree.ParsingExecutionContextView
- getCharset(ExecutionContext) - Method in interface org.openrewrite.Parser
-
Returns the ExecutionContext charset if its defined otherwise returns
StandardCharsets.UTF_8
- getChecksum() - Method in interface org.openrewrite.remote.Remote
- getChecksum() - Method in interface org.openrewrite.SourceFile
- getCode() - Method in class org.openrewrite.ipc.http.HttpSender.Response
- getContext() - Method in class org.openrewrite.PrintOutputCapture
- getContributors() - Method in class org.openrewrite.config.DeclarativeRecipe
- getContributors() - Method in class org.openrewrite.Recipe
- getCreationTime() - Method in class org.eclipse.jgit.util.FS.Attributes
- getCursor() - Method in class org.openrewrite.TreeVisitor
- getCycle() - Method in interface org.openrewrite.ExecutionContext
- getCycleDetails() - Method in interface org.openrewrite.ExecutionContext
- getDataTable(String) - Method in class org.openrewrite.RecipeRun
- getDataTableDescriptors() - Method in class org.openrewrite.config.CompositeRecipe
- getDataTableDescriptors() - Method in class org.openrewrite.Recipe
- getDataTableRows(String) - Method in class org.openrewrite.RecipeRun
- getDescription() - Method in class org.openrewrite.config.CompositeRecipe
- getDescription() - Method in class org.openrewrite.DeleteSourceFiles
- getDescription() - Method in class org.openrewrite.FindCollidingSourceFiles
- getDescription() - Method in class org.openrewrite.FindGitProvenance
- getDescription() - Method in class org.openrewrite.FindLstProvenance
- getDescription() - Method in class org.openrewrite.FindParseFailures
- getDescription() - Method in class org.openrewrite.FindQuarks
- getDescription() - Method in class org.openrewrite.FindSourceFiles
- getDescription() - Method in class org.openrewrite.IsInRepository
- getDescription() - Method in class org.openrewrite.ListRuntimeClasspath
- getDescription() - Method in class org.openrewrite.Recipe
-
A human-readable description for the recipe, consisting of one or more full sentences ending with a period.
- getDescription() - Method in interface org.openrewrite.remote.Remote
-
Any text describing what this remote URI represents.
- getDescription() - Method in class org.openrewrite.RenameFile
- getDescription() - Method in class org.openrewrite.search.FindBuildMetadata
- getDescription() - Method in class org.openrewrite.search.FindCommitters
- getDescription() - Method in class org.openrewrite.search.FindParseToPrintInequality
- getDescription() - Method in class org.openrewrite.SetFilePermissions
- getDescription() - Method in class org.openrewrite.text.AppendToTextFile
- getDescription() - Method in class org.openrewrite.text.ChangeText
- getDescription() - Method in class org.openrewrite.text.CreateTextFile
- getDescription() - Method in class org.openrewrite.text.EndOfLineAtEndOfFile
- getDescription() - Method in class org.openrewrite.text.Find
- getDescription() - Method in class org.openrewrite.text.FindAndReplace
- getDescription() - Method in class org.openrewrite.text.FindMultiselect
- getDescriptor() - Method in class org.openrewrite.config.CategoryTree
- getDescriptor() - Method in class org.openrewrite.config.CategoryTree.Root
- getDescriptor() - Method in class org.openrewrite.Recipe
- getDetail() - Method in class org.openrewrite.marker.Markup.Debug
- getDetail() - Method in interface org.openrewrite.marker.Markup
- getDetail() - Method in class org.openrewrite.marker.Markup.Info
- getDiff() - Method in class org.openrewrite.internal.InMemoryDiffEntry
- getDiff(Boolean) - Method in class org.openrewrite.internal.InMemoryDiffEntry
- getDisplayName() - Method in class org.openrewrite.config.CompositeRecipe
- getDisplayName() - Method in class org.openrewrite.DeleteSourceFiles
- getDisplayName() - Method in class org.openrewrite.FindCollidingSourceFiles
- getDisplayName() - Method in class org.openrewrite.FindGitProvenance
- getDisplayName() - Method in class org.openrewrite.FindLstProvenance
- getDisplayName() - Method in class org.openrewrite.FindParseFailures
- getDisplayName() - Method in class org.openrewrite.FindQuarks
- getDisplayName() - Method in class org.openrewrite.FindSourceFiles
- getDisplayName() - Method in class org.openrewrite.IsInRepository
- getDisplayName() - Method in class org.openrewrite.ListRuntimeClasspath
- getDisplayName() - Method in class org.openrewrite.Recipe
-
A human-readable display name for the recipe, initial capped with no period.
- getDisplayName() - Method in class org.openrewrite.RenameFile
- getDisplayName() - Method in class org.openrewrite.search.FindBuildMetadata
- getDisplayName() - Method in class org.openrewrite.search.FindCommitters
- getDisplayName() - Method in class org.openrewrite.search.FindParseToPrintInequality
- getDisplayName() - Method in class org.openrewrite.SetFilePermissions
- getDisplayName() - Method in class org.openrewrite.text.AppendToTextFile
- getDisplayName() - Method in class org.openrewrite.text.ChangeText
- getDisplayName() - Method in class org.openrewrite.text.CreateTextFile
- getDisplayName() - Method in class org.openrewrite.text.EndOfLineAtEndOfFile
- getDisplayName() - Method in class org.openrewrite.text.Find
- getDisplayName() - Method in class org.openrewrite.text.FindAndReplace
- getDisplayName() - Method in class org.openrewrite.text.FindMultiselect
- getDslName() - Method in class org.openrewrite.Parser.Builder
-
The name of the domain specific language this parser builder produces a parser for.
- getDslName() - Method in class org.openrewrite.quark.QuarkParser.Builder
- getDslName() - Method in class org.openrewrite.text.PlainTextParser.Builder
- getEntity() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getEOL() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getEstimatedEffortPerOccurrence() - Method in class org.openrewrite.config.CompositeRecipe
- getEstimatedEffortPerOccurrence() - Method in class org.openrewrite.config.DeclarativeRecipe
- getEstimatedEffortPerOccurrence() - Method in class org.openrewrite.Recipe
- getExamples() - Method in class org.openrewrite.Recipe
- getException() - Method in class org.openrewrite.Validated.Invalid
- getExecutableName(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getExecutableSuffix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getFamilyName() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getFile() - Method in class org.eclipse.jgit.util.FS.Attributes
- getFileAttributes() - Method in interface org.openrewrite.SourceFile
- getFileStoreAttributes(Path) - Static method in class org.eclipse.jgit.util.FS
-
Get cached FileStore attributes, if not yet available measure them using a probe file under the given directory.
- getFsTimestampResolution() - Method in class org.eclipse.jgit.util.FS.FileStoreAttributes
- getGitSystemConfig() - Method in class org.eclipse.jgit.util.FS
-
Get the currently used path to the system-wide Git configuration file.
- getHexValue() - Method in class org.openrewrite.Checksum
- getHttpSender() - Method in class org.openrewrite.HttpSenderExecutionContextView
- getId() - Method in interface org.openrewrite.marker.Marker
-
An id that can be used to identify a particular marker, even after transformations have taken place on it
- getId() - Method in interface org.openrewrite.Tree
-
An id that can be used to identify a particular AST element, even after transformations have taken place on it
- getInitialState() - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.FindCollidingSourceFiles
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.FindGitProvenance
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.FindLstProvenance
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.ListRuntimeClasspath
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.ScanningRecipe
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.search.FindCommitters
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.text.AppendToTextFile
- getInitialValue(ExecutionContext) - Method in class org.openrewrite.text.CreateTextFile
- getInputStream(ExecutionContext) - Method in interface org.openrewrite.remote.Remote
-
Download the remote file
- getInputStream(ExecutionContext) - Method in class org.openrewrite.remote.RemoteArchive
- getInputStream(ExecutionContext) - Method in class org.openrewrite.remote.RemoteFile
- getInstanceName() - Method in class org.openrewrite.Recipe
-
A human-readable display name for this recipe instance, including some descriptive text about the recipe options that are supplied, if any.
- getInstanceNameSuffix() - Method in class org.openrewrite.Recipe
-
Since most instance names will be constructed with
Recipe.getDisplayName()
followed by some further descriptive text about the recipe's options, this method provides a convenient way to just specify the option descriptive text. - getInstanceNameSuffix() - Method in class org.openrewrite.text.ChangeText
- getInvalidValue() - Method in class org.openrewrite.Validated.Invalid
- getJacksonPolymorphicTypeTag() - Method in class org.openrewrite.Recipe
- getJacksonPolymorphicTypeTag() - Method in interface org.openrewrite.style.Style
- getJacksonPolymorphicTypeTag() - Method in interface org.openrewrite.Tree
- getLanguage() - Method in class org.openrewrite.quark.QuarkVisitor
- getLanguage() - Method in class org.openrewrite.TreeVisitor
- getLargeFileHttpSender() - Method in class org.openrewrite.HttpSenderExecutionContextView
- getLastModifiedInstant() - Method in class org.eclipse.jgit.util.FS.Attributes
- getLastModifiedTime() - Method in class org.eclipse.jgit.util.FS.Attributes
-
Deprecated.use getLastModifiedInstant instead
- getLength() - Method in class org.eclipse.jgit.util.FS.Attributes
- getLinkLibraryName(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getLinkLibrarySuffix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getMaintainers() - Method in class org.openrewrite.Recipe
- getMarkerPrinter() - Method in class org.openrewrite.PrintOutputCapture
- getMarkers() - Method in interface org.openrewrite.Tree
- getMessage() - Method in class org.openrewrite.marker.Markup.Debug
- getMessage() - Method in interface org.openrewrite.marker.Markup
- getMessage() - Method in class org.openrewrite.marker.Markup.Info
- getMessage() - Method in class org.openrewrite.Validated.Invalid
- getMessage() - Method in exception org.openrewrite.ValidationException
- getMessage(String) - Method in class org.openrewrite.Cursor
-
Finds the closest message matching the provided key, leaving it in the message map for further access.
- getMessage(String) - Method in class org.openrewrite.DelegatingExecutionContext
- getMessage(String) - Method in interface org.openrewrite.ExecutionContext
- getMessage(String) - Method in class org.openrewrite.InMemoryExecutionContext
- getMessage(String) - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- getMessage(String, T) - Method in class org.openrewrite.Cursor
- getMessage(String, T) - Method in interface org.openrewrite.ExecutionContext
- getMethod() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getMinimalRacyInterval() - Method in class org.eclipse.jgit.util.FS.FileStoreAttributes
- getName() - Method in class org.eclipse.jgit.util.FS.Attributes
- getName() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getName() - Method in interface org.openrewrite.marker.SourceSet
- getName() - Method in class org.openrewrite.Recipe
- getNativePrefix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getNearestMessage(String) - Method in class org.openrewrite.Cursor
-
Finds the closest message matching the provided key, leaving it in the message map for further access.
- getNearestMessage(String, T) - Method in class org.openrewrite.Cursor
- getObserver() - Method in class org.openrewrite.TreeObserver.Subscription
- getObservers() - Method in interface org.openrewrite.ExecutionContext
- getOnError() - Method in class org.openrewrite.DelegatingExecutionContext
- getOnError() - Method in interface org.openrewrite.ExecutionContext
- getOnError() - Method in class org.openrewrite.InMemoryExecutionContext
- getOnError() - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- getOnTimeout() - Method in class org.openrewrite.DelegatingExecutionContext
- getOnTimeout() - Method in interface org.openrewrite.ExecutionContext
- getOnTimeout() - Method in class org.openrewrite.InMemoryExecutionContext
- getOnTimeout() - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- getOpenapiToken() - Method in class org.openrewrite.ai.AIExecutionContextView
- getOrganizationName() - Method in class org.openrewrite.marker.GitProvenance
-
Deprecated.
- getOrganizationName(String) - Method in class org.openrewrite.marker.GitProvenance
-
Extract the organization name, including sub-organizations for git hosting services which support such a concept, from the origin URL.
- getOut() - Method in class org.openrewrite.PrintOutputCapture
- getPage(int, int) - Method in interface org.openrewrite.Changeset
- getParent() - Method in class org.openrewrite.Cursor
- getParent(int) - Method in class org.openrewrite.Cursor
- getParentOrThrow() - Method in class org.openrewrite.Cursor
- getParentOrThrow(int) - Method in class org.openrewrite.Cursor
- getParentTreeCursor() - Method in class org.openrewrite.Cursor
-
Return the first parent of the current cursor which points to an AST element, or the root cursor if the current cursor already points to the root AST element.
- getParsingListener() - Method in class org.openrewrite.tree.ParsingExecutionContextView
- getPath() - Method in class org.openrewrite.Cursor
- getPath() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getPath(Predicate<Object>) - Method in class org.openrewrite.Cursor
- getPathAsCursors() - Method in class org.openrewrite.Cursor
- getPathAsCursors(Predicate<Cursor>) - Method in class org.openrewrite.Cursor
- getPathAsStream() - Method in class org.openrewrite.Cursor
- getPathAsStream(Predicate<Object>) - Method in class org.openrewrite.Cursor
- getPathVar() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getPrimaryConstructor(Class<?>) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- getProperty() - Method in class org.openrewrite.Validated.Invalid
- getProperty() - Method in class org.openrewrite.Validated.Valid
- getRc() - Method in class org.eclipse.jgit.util.FS.ExecutionResult
- getRecipe() - Method in exception org.openrewrite.RecipeTimeoutException
- getRecipe(String) - Method in class org.openrewrite.config.CategoryTree
- getRecipeCount() - Method in class org.openrewrite.config.CategoryTree
- getRecipeDescriptorsThatMadeChanges() - Method in class org.openrewrite.Result
-
Return a list of recipes that have made changes as a hierarchy of descriptors.
- getRecipeGroup(String) - Method in class org.openrewrite.config.CategoryTree
- getRecipeList() - Method in class org.openrewrite.config.CompositeRecipe
- getRecipeList() - Method in class org.openrewrite.config.DeclarativeRecipe
- getRecipeList() - Method in class org.openrewrite.Recipe
-
A list of recipes that run, source file by source file, after this recipe.
- getRecipePosition() - Method in class org.openrewrite.scheduling.RecipeRunCycle
- getRecipes() - Method in class org.openrewrite.config.CategoryTree
- getRecipesByGroup() - Method in class org.openrewrite.config.CategoryTree
- getRelativePath(Path) - Method in class org.openrewrite.Parser.Input
- getRepositoryName() - Method in class org.openrewrite.marker.GitProvenance
- getRequestHeaders() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getRoot() - Method in class org.openrewrite.Cursor
- getRowsTypeReference() - Method in class org.openrewrite.DataTable
- getScanner(Void) - Method in class org.openrewrite.ListRuntimeClasspath
- getScanner(AtomicBoolean) - Method in class org.openrewrite.text.AppendToTextFile
- getScanner(AtomicBoolean) - Method in class org.openrewrite.text.CreateTextFile
- getScanner(Map<String, GitProvenance.Committer>) - Method in class org.openrewrite.search.FindCommitters
- getScanner(Set<GitProvenance>) - Method in class org.openrewrite.FindGitProvenance
- getScanner(FindCollidingSourceFiles.Accumulator) - Method in class org.openrewrite.FindCollidingSourceFiles
- getScanner(FindLstProvenance.Accumulator) - Method in class org.openrewrite.FindLstProvenance
- getScanner(T) - Method in class org.openrewrite.ScanningRecipe
-
A visitor that is called for each source file in the repository in an initial pass.
- getScriptName(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getSharedLibraryName(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getSharedLibrarySuffix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getSnippets() - Method in class org.openrewrite.text.PlainText
- getSource() - Method in exception org.openrewrite.ValidationException
- getSource(ExecutionContext) - Method in class org.openrewrite.Parser.Input
- getSourcePath() - Method in interface org.openrewrite.SourceFile
- getSourceWriter(String) - Method in class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- getStaticLibraryName(String) - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getStaticLibrarySuffix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getStderr() - Method in class org.eclipse.jgit.util.FS.ExecutionResult
- getStdout() - Method in class org.eclipse.jgit.util.FS.ExecutionResult
- getStyle(Class<S>) - Method in interface org.openrewrite.SourceFile
- getStyle(Class<S>, S) - Method in interface org.openrewrite.SourceFile
- getTags() - Method in class org.openrewrite.Recipe
-
A set of strings used for categorizing related recipes.
- getTags() - Method in class org.openrewrite.text.ChangeText
- getUri() - Method in interface org.openrewrite.remote.Remote
- getUrl() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getValue() - Method in class org.openrewrite.Cursor
- getValue() - Method in class org.openrewrite.Validated.Both
- getValue() - Method in class org.openrewrite.Validated.Either
- getValue() - Method in interface org.openrewrite.Validated
- getValue() - Method in class org.openrewrite.Validated.Invalid
- getValue() - Method in class org.openrewrite.Validated.None
- getValue() - Method in class org.openrewrite.Validated.Valid
- getVersion() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- getVisitor() - Method in class org.openrewrite.DeleteSourceFiles
- getVisitor() - Method in class org.openrewrite.FindParseFailures
- getVisitor() - Method in class org.openrewrite.FindQuarks
- getVisitor() - Method in class org.openrewrite.FindSourceFiles
- getVisitor() - Method in class org.openrewrite.IsInRepository
- getVisitor() - Method in class org.openrewrite.Recipe
-
A recipe can optionally encapsulate a visitor that performs operations on a set of source files.
- getVisitor() - Method in class org.openrewrite.RenameFile
- getVisitor() - Method in class org.openrewrite.ScanningRecipe
- getVisitor() - Method in class org.openrewrite.search.FindBuildMetadata
- getVisitor() - Method in class org.openrewrite.search.FindParseToPrintInequality
- getVisitor() - Method in class org.openrewrite.SetFilePermissions
- getVisitor() - Method in class org.openrewrite.text.ChangeText
- getVisitor() - Method in class org.openrewrite.text.EndOfLineAtEndOfFile
- getVisitor() - Method in class org.openrewrite.text.Find
- getVisitor() - Method in class org.openrewrite.text.FindAndReplace
- getVisitor() - Method in class org.openrewrite.text.FindMultiselect
- getVisitor(AtomicBoolean) - Method in class org.openrewrite.text.AppendToTextFile
- getVisitor(AtomicBoolean) - Method in class org.openrewrite.text.CreateTextFile
- getVisitor(Map<String, GitProvenance.Committer>) - Method in class org.openrewrite.search.FindCommitters
- getVisitor(FindCollidingSourceFiles.Accumulator) - Method in class org.openrewrite.FindCollidingSourceFiles
- getVisitor(T) - Method in class org.openrewrite.ScanningRecipe
-
A visitor that is called in a second pass to perform transformation on each source file.
- getWeight(Predicate<Object>) - Method in interface org.openrewrite.SourceFile
-
A measure of the size of the AST by count of number of AST nodes or some other similar measure.
- getWeight(Predicate<Object>) - Method in class org.openrewrite.text.PlainText
- getWorkingDirectory() - Method in class org.openrewrite.scheduling.WorkingDirectoryExecutionContextView
- getZeroArgsConstructor(Class<?>) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- GithubActionsBuildEnvironment - Class in org.openrewrite.marker.ci
- GithubActionsBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.GithubActionsBuildEnvironment
- GitlabBuildEnvironment - Class in org.openrewrite.marker.ci
- GitlabBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.GitlabBuildEnvironment
- GitProvenance - Class in org.openrewrite.marker
- GitProvenance() - Constructor for class org.openrewrite.marker.GitProvenance
- GitProvenance.AutoCRLF - Enum Class in org.openrewrite.marker
- GitProvenance.Committer - Class in org.openrewrite.marker
- GitProvenance.EOL - Enum Class in org.openrewrite.marker
- Gradle - Enum constant in enum class org.openrewrite.marker.BuildTool.Type
- Gradle - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- greatestCommonMargin(String) - Static method in class org.openrewrite.internal.StringUtils
-
Locate the greatest common margin of a multi-line string
- greatestCommonSubstringLength(String, String) - Static method in class org.openrewrite.internal.StringUtils
H
- hasClass(String) - Method in class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- hashCode() - Method in class org.openrewrite.Parser.Input
- hashCode() - Method in class org.openrewrite.Recipe
- hashUri(URI) - Static method in class org.openrewrite.remote.LocalRemoteArtifactCache
- hasNewMessages() - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- head(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- HEAD - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- HIGHEST_PRECEDENCE - Static variable in class org.openrewrite.config.CategoryDescriptor
- hostname() - Static method in class org.openrewrite.marker.OperatingSystemProvenance
- HttpSender - Interface in org.openrewrite.ipc.http
-
A general-purpose interface for controlling how components perform HTTP calls for various purposes.
- HttpSender.Method - Enum Class in org.openrewrite.ipc.http
- HttpSender.Request - Class in org.openrewrite.ipc.http
- HttpSender.Request.Builder - Class in org.openrewrite.ipc.http
- HttpSender.Response - Class in org.openrewrite.ipc.http
- HttpSenderExecutionContextView - Class in org.openrewrite
- HttpSenderExecutionContextView(ExecutionContext) - Constructor for class org.openrewrite.HttpSenderExecutionContextView
- HttpUrlConnectionSender - Class in org.openrewrite.ipc.http
-
HttpURLConnection
-basedHttpSender
. - HttpUrlConnectionSender() - Constructor for class org.openrewrite.ipc.http.HttpUrlConnectionSender
-
Use the default timeouts and proxy settings for the sender.
- HttpUrlConnectionSender(Duration, Duration) - Constructor for class org.openrewrite.ipc.http.HttpUrlConnectionSender
-
Creates a sender with the specified timeouts but uses the default proxy settings.
- HttpUrlConnectionSender(Duration, Duration, Proxy) - Constructor for class org.openrewrite.ipc.http.HttpUrlConnectionSender
-
Creates a sender with the specified timeouts and proxy settings.
- HyphenRange - Class in org.openrewrite.semver
I
- id - Variable in class org.openrewrite.remote.Remote.Builder
- ID - Enum constant in enum class org.openrewrite.config.CategoryTree.PrintNameStyle
- IncompleteGitConfigException - Exception in org.openrewrite.marker.ci
- IncompleteGitConfigException() - Constructor for exception org.openrewrite.marker.ci.IncompleteGitConfigException
- IncompleteGitConfigException(String) - Constructor for exception org.openrewrite.marker.ci.IncompleteGitConfigException
- Incubating - Annotation Interface in org.openrewrite
-
This is a feature that is experimental and may yield a breaking change in a minor release.
- indent(String) - Static method in class org.openrewrite.internal.StringUtils
- indexOf(String, Predicate<Character>) - Static method in class org.openrewrite.internal.StringUtils
- indexOfNextNonWhitespace(int, String) - Static method in class org.openrewrite.internal.StringUtils
- indexOfNonWhitespace(String) - Static method in class org.openrewrite.internal.StringUtils
- info(T, String) - Static method in interface org.openrewrite.marker.Markup
- info(T, String, String) - Static method in interface org.openrewrite.marker.Markup
- Info() - Constructor for class org.openrewrite.marker.Markup.Info
- initialize(Collection<Recipe>, Map<String, List<Contributor>>) - Method in class org.openrewrite.config.DeclarativeRecipe
- InMemoryDiffEntry - Class in org.openrewrite.internal
- InMemoryDiffEntry(Path, Path, Path, String, String, Set<Recipe>) - Constructor for class org.openrewrite.internal.InMemoryDiffEntry
- InMemoryDiffEntry(Path, Path, Path, String, String, Set<Recipe>, FileMode, FileMode) - Constructor for class org.openrewrite.internal.InMemoryDiffEntry
- InMemoryExecutionContext - Class in org.openrewrite
- InMemoryExecutionContext() - Constructor for class org.openrewrite.InMemoryExecutionContext
- InMemoryExecutionContext(Consumer<Throwable>) - Constructor for class org.openrewrite.InMemoryExecutionContext
- InMemoryExecutionContext(Consumer<Throwable>, Duration) - Constructor for class org.openrewrite.InMemoryExecutionContext
- InMemoryExecutionContext(Consumer<Throwable>, Duration, BiConsumer<Throwable, ExecutionContext>) - Constructor for class org.openrewrite.InMemoryExecutionContext
- InMemoryLargeSourceSet - Class in org.openrewrite.internal
- InMemoryLargeSourceSet(InMemoryLargeSourceSet, Map<SourceFile, List<Recipe>>, List<SourceFile>) - Constructor for class org.openrewrite.internal.InMemoryLargeSourceSet
- InMemoryLargeSourceSet(List<SourceFile>) - Constructor for class org.openrewrite.internal.InMemoryLargeSourceSet
- Input - Enum constant in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
- Input(Path, FileAttributes, Supplier<InputStream>) - Constructor for class org.openrewrite.Parser.Input
- Input(Path, FileAttributes, Supplier<InputStream>, boolean) - Constructor for class org.openrewrite.Parser.Input
- Input(Path, Supplier<InputStream>) - Constructor for class org.openrewrite.Parser.Input
- insert(List<T>, T, int) - Static method in class org.openrewrite.internal.ListUtils
-
Insert element to a list at the specified position in the list.
- insertAll(List<T>, int, List<T>) - Static method in class org.openrewrite.internal.ListUtils
- insertInOrder(List<T>, T, Comparator<T>) - Static method in class org.openrewrite.internal.ListUtils
-
Insert into as-near of a location representing the natural ordering of the list without assuming the list is already sorted according to its natural ordering AND without changing the position of any other element.
- insertRow(ExecutionContext, Row) - Method in class org.openrewrite.DataTable
- intermediateMessage(String) - Method in interface org.openrewrite.tree.ParsingEventListener
-
Parsers may call this one or more times before parsing begins on any one source file to indicate to listeners preparatory steps that are about to be taken.
- internalRunHookIfPresent(Repository, String, String[], OutputStream, OutputStream, String) - Method in class org.eclipse.jgit.util.FS
- invalid(String, Object, String) - Static method in interface org.openrewrite.Validated
- invalid(String, Object, String, Throwable) - Static method in interface org.openrewrite.Validated
- Invalid(String, Object, String, Throwable) - Constructor for class org.openrewrite.Validated.Invalid
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.binary.BinaryVisitor
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.ParseErrorVisitor
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.quark.QuarkVisitor
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.remote.RemoteVisitor
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.text.PlainTextVisitor
- isAcceptable(SourceFile, P) - Method in class org.openrewrite.TreeVisitor
- isAcceptable(TreeVisitor<?, P>, P) - Method in class org.openrewrite.binary.Binary
- isAcceptable(TreeVisitor<?, P>, P) - Method in class org.openrewrite.quark.Quark
- isAcceptable(TreeVisitor<?, P>, P) - Method in interface org.openrewrite.remote.Remote
- isAcceptable(TreeVisitor<?, P>, P) - Method in class org.openrewrite.text.PlainText
- isAcceptable(TreeVisitor<?, P>, P) - Method in class org.openrewrite.text.PlainText.Snippet
- isAcceptable(TreeVisitor<?, P>, P) - Method in interface org.openrewrite.Tree
-
Checks the supplied argument to see if the supplied visitor and its context would be valid arguments to accept().
- isAcceptable(TreeVisitor<?, P>, P) - Method in class org.openrewrite.tree.ParseError
- isAdaptableTo(Class<? extends TreeVisitor>) - Method in class org.openrewrite.ParseErrorVisitor
- isAdaptableTo(Class<? extends TreeVisitor>) - Method in class org.openrewrite.text.PlainTextVisitor
- isAdaptableTo(Class<? extends TreeVisitor>) - Method in class org.openrewrite.TreeVisitor
- isBlank(String) - Static method in class org.openrewrite.internal.StringUtils
-
Check if the String is null or has only whitespaces.
- isCaseSensitive() - Method in class org.eclipse.jgit.util.FS
-
Is this file system case sensitive
- isCharsetBomMarked() - Method in class org.openrewrite.binary.Binary
- isCharsetBomMarked() - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- isCharsetBomMarked() - Method in class org.openrewrite.quark.Quark
- isCharsetBomMarked() - Method in interface org.openrewrite.SourceFile
- isCreated() - Method in class org.eclipse.jgit.util.FS.LockToken
- isDirectory() - Method in class org.eclipse.jgit.util.FS.Attributes
- isDirectory(File) - Method in class org.eclipse.jgit.util.FS
-
Check if path is a directory.
- isExecutable() - Method in class org.eclipse.jgit.util.FS.Attributes
- isFile(File) - Method in class org.eclipse.jgit.util.FS
-
Examine if path represents a regular file.
- isHidden(File) - Method in class org.eclipse.jgit.util.FS
-
Whether path is hidden, either starts with .
- IsInRepository - Class in org.openrewrite
- IsInRepository() - Constructor for class org.openrewrite.IsInRepository
- isInvalid() - Method in interface org.openrewrite.Validated
- isLinux() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- isMacOsX() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- isNotEmpty(String) - Static method in class org.openrewrite.internal.StringUtils
- isNullOrEmpty(String) - Static method in class org.openrewrite.internal.StringUtils
-
Check if the String is empty string or null.
- isNumeric(String) - Static method in class org.openrewrite.internal.StringUtils
- isRegularFile() - Method in class org.eclipse.jgit.util.FS.Attributes
- isScope(Tree) - Method in interface org.openrewrite.Tree
- isScopeInPath(Tree) - Method in class org.openrewrite.Cursor
- isSubscribed(Tree) - Method in class org.openrewrite.TreeObserver.Subscription
- isSuccessful() - Method in class org.openrewrite.ipc.http.HttpSender.Response
- isSymbolicLink() - Method in class org.eclipse.jgit.util.FS.Attributes
- isSymLink(File) - Method in class org.eclipse.jgit.util.FS
-
Whether the path is a symbolic link (and we support these).
- isUnix() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- isValid() - Method in class org.openrewrite.Validated.Both
- isValid() - Method in class org.openrewrite.Validated.Either
- isValid() - Method in class org.openrewrite.Validated.Invalid
- isValid() - Method in interface org.openrewrite.Validated
- isValid() - Method in class org.openrewrite.Validated.None
- isValid() - Method in class org.openrewrite.Validated.Valid
- isValid(String, String) - Method in class org.openrewrite.semver.CaretRange
- isValid(String, String) - Method in class org.openrewrite.semver.ExactVersion
- isValid(String, String) - Method in class org.openrewrite.semver.HyphenRange
- isValid(String, String) - Method in class org.openrewrite.semver.LatestPatch
- isValid(String, String) - Method in class org.openrewrite.semver.LatestRelease
- isValid(String, String) - Method in class org.openrewrite.semver.SetRange
- isValid(String, String) - Method in class org.openrewrite.semver.TildeRange
- isValid(String, String) - Method in interface org.openrewrite.semver.VersionComparator
- isValid(String, String) - Method in class org.openrewrite.semver.XRange
- isValidVersion(String, String) - Method in class org.openrewrite.semver.DependencyMatcher
- isVersion(String) - Static method in class org.openrewrite.semver.Semver
- isWindows() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- iterator() - Method in class org.openrewrite.Validated.Both
- iterator() - Method in class org.openrewrite.Validated.Either
- iterator() - Method in class org.openrewrite.Validated.Invalid
- iterator() - Method in class org.openrewrite.Validated.None
- iterator() - Method in class org.openrewrite.Validated.Valid
J
- Java - Enum constant in enum class org.openrewrite.table.RewriteRecipeSource.RecipeType
- JenkinsBuildEnvironment - Class in org.openrewrite.marker.ci
- JenkinsBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.JenkinsBuildEnvironment
L
- LargeSourceSet - Interface in org.openrewrite
-
A source set that may be too large to be materialized in memory.
- lastModified(File) - Method in class org.eclipse.jgit.util.FS
-
Deprecated.use
FS.lastModifiedInstant(Path)
instead - lastModifiedInstant(File) - Method in class org.eclipse.jgit.util.FS
-
Get the last modified time of a file system object.
- lastModifiedInstant(Path) - Method in class org.eclipse.jgit.util.FS
-
Get the last modified time of a file system object.
- LatestPatch - Class in org.openrewrite.semver
- LatestPatch() - Constructor for class org.openrewrite.semver.LatestPatch
- LatestRelease - Class in org.openrewrite.semver
- LatestRelease(String) - Constructor for class org.openrewrite.semver.LatestRelease
- Leave - Enum constant in enum class org.openrewrite.text.AppendToTextFile.Strategy
- left - Variable in class org.openrewrite.Validated.Both
- length - Variable in class org.eclipse.jgit.util.FS.Attributes
-
file length
- length() - Method in class org.openrewrite.marker.Range
- length(File) - Method in class org.eclipse.jgit.util.FS
-
Get the length of a file or link, If the OS/JRE supports symbolic links it's the length of the link, else the length of the target.
- LF - Enum constant in enum class org.openrewrite.marker.GitProvenance.EOL
- LF - Enum constant in enum class org.openrewrite.marker.OperatingSystemProvenance.EOL
- LINUX - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- list(File, FileTreeIterator.FileModeStrategy) - Method in class org.eclipse.jgit.util.FS
-
Enumerates children of a directory.
- listCategoryDescriptors() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listCategoryDescriptors() - Method in class org.openrewrite.config.Environment
- listCategoryDescriptors() - Method in interface org.openrewrite.config.ResourceLoader
- listCategoryDescriptors() - Method in class org.openrewrite.config.YamlResourceLoader
- listContributors() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listContributors() - Method in interface org.openrewrite.config.ResourceLoader
- listContributors() - Method in class org.openrewrite.config.YamlResourceLoader
- listRecipeDescriptors() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listRecipeDescriptors() - Method in class org.openrewrite.config.Environment
- listRecipeDescriptors() - Method in interface org.openrewrite.config.ResourceLoader
- listRecipeDescriptors() - Method in class org.openrewrite.config.YamlResourceLoader
- listRecipeDescriptors(Collection<Recipe>, Map<String, List<Contributor>>, Map<String, List<RecipeExample>>) - Method in class org.openrewrite.config.YamlResourceLoader
- listRecipeExamples() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listRecipeExamples() - Method in interface org.openrewrite.config.ResourceLoader
- listRecipeExamples() - Method in class org.openrewrite.config.YamlResourceLoader
- listRecipes() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listRecipes() - Method in class org.openrewrite.config.Environment
- listRecipes() - Method in interface org.openrewrite.config.ResourceLoader
- listRecipes() - Method in class org.openrewrite.config.YamlResourceLoader
- ListRuntimeClasspath - Class in org.openrewrite
- ListRuntimeClasspath() - Constructor for class org.openrewrite.ListRuntimeClasspath
- listStyles() - Method in class org.openrewrite.config.ClasspathScanningLoader
- listStyles() - Method in class org.openrewrite.config.Environment
- listStyles() - Method in interface org.openrewrite.config.ResourceLoader
- listStyles() - Method in class org.openrewrite.config.YamlResourceLoader
- ListUtils - Class in org.openrewrite.internal
- load(ResourceLoader) - Method in class org.openrewrite.config.Environment.Builder
- load(ResourceLoader, Collection<? extends ResourceLoader>) - Method in class org.openrewrite.config.Environment.Builder
- loadClass(String, boolean) - Method in class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- LoathingOfOthers - Annotation Interface in org.openrewrite.internal
-
Because someone ELSE did something that hurt me.
- LocalRemoteArtifactCache - Class in org.openrewrite.remote
- LocalRemoteArtifactCache(Path) - Constructor for class org.openrewrite.remote.LocalRemoteArtifactCache
- LoggingMeterRegistry - Class in org.openrewrite.internal
- LoggingMeterRegistry(TimeUnit, Consumer<String>, Function<Meter, String>) - Constructor for class org.openrewrite.internal.LoggingMeterRegistry
- LoggingMeterRegistry.Builder - Class in org.openrewrite.internal
- loggingSink(Consumer<String>) - Method in class org.openrewrite.internal.LoggingMeterRegistry.Builder
- LOWER_CAMEL - Enum constant in enum class org.openrewrite.internal.NameCaseConvention
-
Camel case with the first letter lowercase, e.g., "lowerCamel".
- LOWER_HYPHEN - Enum constant in enum class org.openrewrite.internal.NameCaseConvention
-
Lowercase and hyphen-separated, e.g., "lower-hyphen".
- LOWER_UNDERSCORE - Enum constant in enum class org.openrewrite.internal.NameCaseConvention
-
Lowercase and underscore-separated, e.g., "lower_underscore".
- LOWEST_PRECEDENCE - Static variable in class org.openrewrite.config.CategoryDescriptor
- LstProvenance - Class in org.openrewrite.marker
- LstProvenance() - Constructor for class org.openrewrite.marker.LstProvenance
- LstProvenance.Type - Enum Class in org.openrewrite.marker
- LstProvenanceTable - Class in org.openrewrite.table
- LstProvenanceTable(Recipe) - Constructor for class org.openrewrite.table.LstProvenanceTable
- LstProvenanceTable.Row - Class in org.openrewrite.table
M
- MAC_OS - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- Maintainer - Class in org.openrewrite
- Maintainer() - Constructor for class org.openrewrite.Maintainer
- majorVersion(String) - Static method in class org.openrewrite.semver.Semver
- map(List<T>, BiFunction<Integer, T, T>) - Static method in class org.openrewrite.internal.ListUtils
- map(List<T>, UnaryOperator<T>) - Static method in class org.openrewrite.internal.ListUtils
- mapFirst(List<T>, UnaryOperator<T>) - Static method in class org.openrewrite.internal.ListUtils
- mapLast(List<T>, UnaryOperator<T>) - Static method in class org.openrewrite.internal.ListUtils
- Marker - Interface in org.openrewrite.marker
- markers - Variable in class org.openrewrite.remote.Remote.Builder
- Markers - Class in org.openrewrite.marker
- Markers() - Constructor for class org.openrewrite.marker.Markers
- markup(T, Markup) - Static method in interface org.openrewrite.marker.Markup
- Markup - Interface in org.openrewrite.marker
- Markup.Debug - Class in org.openrewrite.marker
- Markup.Error - Class in org.openrewrite.marker
- Markup.Info - Class in org.openrewrite.marker
- Markup.Warn - Class in org.openrewrite.marker
- matches(String) - Method in enum class org.openrewrite.internal.NameCaseConvention
-
Whether the input matches the formatting style of this
NameCaseConvention
. - matches(String, String) - Method in class org.openrewrite.semver.DependencyMatcher
- matches(String, String, String) - Method in class org.openrewrite.semver.DependencyMatcher
- matches(NameCaseConvention, String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
- matchesGlob(String, String) - Static method in class org.openrewrite.internal.StringUtils
- matchesGlob(Path, String) - Static method in class org.openrewrite.PathUtils
- matchesGlobRelaxedBinding(String, String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
-
Check equality between two inputs using "relaxed binding" rules.
- matchesRegexRelaxedBinding(String, String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
- Maven - Enum constant in enum class org.openrewrite.marker.BuildTool.Type
- Maven - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- maxCycle - Variable in class org.openrewrite.DataTable
-
Ignore any row insertions after this cycle.
- maxCycles() - Method in class org.openrewrite.Recipe
- maxCycles() - Method in class org.openrewrite.text.AppendToTextFile
- maxDepth(int) - Method in class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- maybeAddKotlinModule(ObjectMapper) - Static method in class org.openrewrite.RecipeSerializer
-
If it is available on the runtime classpath, add jackson's Kotlin module to the provided object mapper.
- md5(SourceFile, ExecutionContext) - Static method in class org.openrewrite.Checksum
- merge(Class<S>, Iterable<? extends NamedStyles>) - Static method in class org.openrewrite.style.NamedStyles
- merge(List<NamedStyles>) - Static method in class org.openrewrite.style.NamedStyles
-
Merge many NamedStyles into one NamedStyle.
- merge(Style) - Method in interface org.openrewrite.style.Style
- merge(T, T) - Static method in class org.openrewrite.style.StyleHelper
-
Copies all non-null properties from right into left, recursively.
- mergingFound(T, String) - Static method in class org.openrewrite.marker.SearchResult
-
Merge the description of two search results into a single search result with a unified description.
- mergingFound(T, String, String) - Static method in class org.openrewrite.marker.SearchResult
-
Merge the description of two search results into a single search result with a unified description.
- message(Tree, Recipe, String) - Static method in class org.openrewrite.marker.CommitMessage
- meterIdPrinter(Function<Meter, String>) - Method in class org.openrewrite.internal.LoggingMeterRegistry.Builder
- MetricsHelper - Class in org.openrewrite.internal
- MetricsHelper() - Constructor for class org.openrewrite.internal.MetricsHelper
- minorVersion(String) - Static method in class org.openrewrite.semver.Semver
- missing(String, T, String) - Static method in interface org.openrewrite.Validated
- Missing(String, T, String) - Constructor for class org.openrewrite.Validated.Missing
- ModerneCli - Enum constant in enum class org.openrewrite.marker.BuildTool.Type
- mostCommonIndent(SortedMap<Integer, Long>) - Static method in class org.openrewrite.internal.StringUtils
N
- name() - Element in annotation interface org.openrewrite.internal.SelfLoathing
- NameCaseConvention - Enum Class in org.openrewrite.internal
-
Utilities for standard name case conventions.
- NamedStyles - Class in org.openrewrite.style
-
A collection of styles by name, e.g., IntelliJ IDEA or Google Java Format.
- NamedStyles() - Constructor for class org.openrewrite.style.NamedStyles
- nameStyle(CategoryTree.PrintNameStyle) - Method in class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- Native - Enum constant in enum class org.openrewrite.marker.GitProvenance.EOL
- newCounter(Meter.Id) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newDistributionSummary(Meter.Id, DistributionStatisticConfig, double) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newFunctionCounter(Meter.Id, T, ToDoubleFunction<T>) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newFunctionTimer(Meter.Id, T, ToLongFunction<T>, ToDoubleFunction<T>, TimeUnit) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newGauge(Meter.Id, T, ToDoubleFunction<T>) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newInstance() - Method in class org.eclipse.jgit.util.FS
-
Create a new instance of the same type of FS.
- newLongTaskTimer(Meter.Id, DistributionStatisticConfig) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newMeter(Meter.Id, Meter.Type, Iterable<Measurement>) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- newRequest(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- newTimer(Meter.Id, DistributionStatisticConfig, PauseDetector) - Method in class org.openrewrite.internal.LoggingMeterRegistry
- NO_ENTRIES - Static variable in class org.eclipse.jgit.util.FS
-
An empty array of entries, suitable as a return value for
FS.list(File, FileModeStrategy)
. - none() - Static method in interface org.openrewrite.Validated
- None() - Constructor for class org.openrewrite.Validated.None
- NonNull - Annotation Interface in org.openrewrite.internal.lang
-
A common annotation to declare that annotated elements cannot be
null
. - NonNullApi - Annotation Interface in org.openrewrite.internal.lang
-
A common annotation to declare that parameters and return values are to be considered as non-nullable by default for a given package.
- NonNullFields - Annotation Interface in org.openrewrite.internal.lang
-
A common annotation to declare that fields are to be considered as non-nullable by default for a given package.
- noop() - Static method in class org.openrewrite.Recipe
- noop() - Static method in class org.openrewrite.TreeVisitor
- NOOP - Static variable in interface org.openrewrite.tree.ParsingEventListener
- normalize(File) - Method in class org.eclipse.jgit.util.FS
-
Normalize the unicode path to composed form.
- normalize(String) - Method in class org.eclipse.jgit.util.FS
-
Normalize the unicode path to composed form.
- not(TreeVisitor<?, ExecutionContext>) - Static method in class org.openrewrite.Preconditions
- notBlank(String, String) - Static method in interface org.openrewrite.Validated
- Nullable - Annotation Interface in org.openrewrite.internal.lang
-
A common annotation to declare that annotated elements can be
null
under some circumstance. - NullFields - Annotation Interface in org.openrewrite.internal.lang
-
A common annotation to declare that fields are to be considered as non-nullable by default for a given package.
- nullIfEmpty(List<T>) - Static method in class org.openrewrite.internal.ListUtils
- nullIfEmpty(T[]) - Static method in class org.openrewrite.internal.ListUtils
- NullUtils - Class in org.openrewrite.internal.lang
- NullUtils() - Constructor for class org.openrewrite.internal.lang.NullUtils
O
- OkHttpSender - Class in org.openrewrite.ipc.http
-
OkHttp-based
HttpSender
. - OkHttpSender() - Constructor for class org.openrewrite.ipc.http.OkHttpSender
- OkHttpSender(OkHttpClient) - Constructor for class org.openrewrite.ipc.http.OkHttpSender
- omitCategoryRoots(boolean) - Method in class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- omitEmptyCategories(boolean) - Method in class org.openrewrite.config.CategoryTree.PrintOptions.Builder
- onError(Consumer<HttpSender.Response>) - Method in class org.openrewrite.ipc.http.HttpSender.Response
- onlyYaml(Properties) - Static method in class org.openrewrite.config.ClasspathScanningLoader
- onSuccess(Consumer<HttpSender.Response>) - Method in class org.openrewrite.ipc.http.HttpSender.Response
- OperatingSystemProvenance - Class in org.openrewrite.marker
- OperatingSystemProvenance.EOL - Enum Class in org.openrewrite.marker
- Option - Annotation Interface in org.openrewrite
- OptionDescriptor - Class in org.openrewrite.config
- OptionDescriptor() - Constructor for class org.openrewrite.config.OptionDescriptor
- options(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- OPTIONS - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- or(TreeVisitor<?, ExecutionContext>...) - Static method in class org.openrewrite.Preconditions
- or(Validated<? extends T>) - Method in class org.openrewrite.Validated.None
- or(Validated<? extends T>) - Method in interface org.openrewrite.Validated
- org.eclipse.jgit.util - package org.eclipse.jgit.util
- org.openrewrite - package org.openrewrite
- org.openrewrite.ai - package org.openrewrite.ai
- org.openrewrite.binary - package org.openrewrite.binary
- org.openrewrite.config - package org.openrewrite.config
- org.openrewrite.internal - package org.openrewrite.internal
- org.openrewrite.internal.lang - package org.openrewrite.internal.lang
- org.openrewrite.ipc.http - package org.openrewrite.ipc.http
- org.openrewrite.marker - package org.openrewrite.marker
- org.openrewrite.marker.ci - package org.openrewrite.marker.ci
- org.openrewrite.quark - package org.openrewrite.quark
- org.openrewrite.remote - package org.openrewrite.remote
- org.openrewrite.scheduling - package org.openrewrite.scheduling
- org.openrewrite.search - package org.openrewrite.search
- org.openrewrite.semver - package org.openrewrite.semver
- org.openrewrite.style - package org.openrewrite.style
- org.openrewrite.table - package org.openrewrite.table
- org.openrewrite.template - package org.openrewrite.template
- org.openrewrite.text - package org.openrewrite.text
- org.openrewrite.tree - package org.openrewrite.tree
- out - Variable in class org.openrewrite.PrintOutputCapture
- OutdatedSerializer - Class in org.openrewrite.marker
- OutdatedSerializer() - Constructor for class org.openrewrite.marker.OutdatedSerializer
P
- PANIC - Static variable in class org.openrewrite.Recipe
- parse(Iterable<Path>, Path, ExecutionContext) - Method in interface org.openrewrite.Parser
- parse(String...) - Method in interface org.openrewrite.Parser
- parse(ExecutionContext, String...) - Method in interface org.openrewrite.Parser
- parseAllOtherFiles(Path, List<SourceFile>) - Static method in class org.openrewrite.quark.QuarkParser
- parsed(Parser.Input, SourceFile) - Method in interface org.openrewrite.tree.ParsingEventListener
- ParseError - Class in org.openrewrite.tree
- ParseError() - Constructor for class org.openrewrite.tree.ParseError
- ParseErrorPrinter<P> - Class in org.openrewrite
- ParseErrorPrinter() - Constructor for class org.openrewrite.ParseErrorPrinter
- ParseErrorVisitor<P> - Class in org.openrewrite
- ParseErrorVisitor() - Constructor for class org.openrewrite.ParseErrorVisitor
- ParseExceptionResult - Class in org.openrewrite
- ParseExceptionResult() - Constructor for class org.openrewrite.ParseExceptionResult
- ParseFailures - Class in org.openrewrite.table
- ParseFailures(Recipe) - Constructor for class org.openrewrite.table.ParseFailures
- ParseFailures.Row - Class in org.openrewrite.table
- parseInputs(Iterable<Parser.Input>, Path, ExecutionContext) - Method in class org.openrewrite.binary.BinaryParser
- parseInputs(Iterable<Parser.Input>, Path, ExecutionContext) - Method in interface org.openrewrite.Parser
- parseInputs(Iterable<Parser.Input>, Path, ExecutionContext) - Method in class org.openrewrite.quark.QuarkParser
- parseInputs(Iterable<Parser.Input>, Path, ExecutionContext) - Method in class org.openrewrite.text.PlainTextParser
- Parser - Interface in org.openrewrite
- Parser.Builder - Class in org.openrewrite
- Parser.Input - Class in org.openrewrite
-
A source input.
- parseStringValue(String, Function<String, String>, Set<String>) - Method in class org.openrewrite.internal.PropertyPlaceholderHelper
- ParseToPrintInequalities - Class in org.openrewrite.table
- ParseToPrintInequalities(Recipe) - Constructor for class org.openrewrite.table.ParseToPrintInequalities
- ParseToPrintInequalities.Row - Class in org.openrewrite.table
- ParseWarning - Class in org.openrewrite
- ParseWarning() - Constructor for class org.openrewrite.ParseWarning
- ParsingEventListener - Interface in org.openrewrite.tree
- ParsingExecutionContextView - Class in org.openrewrite.tree
- ParsingExecutionContextView(ExecutionContext) - Constructor for class org.openrewrite.tree.ParsingExecutionContextView
- PathUtils - Class in org.openrewrite
- PlainText - Class in org.openrewrite.text
-
The simplest of all ASTs representing nothing more than just unstructured text.
- PlainText() - Constructor for class org.openrewrite.text.PlainText
- PlainText.Snippet - Class in org.openrewrite.text
- plainTextMasks(Path, Iterable<String>) - Method in class org.openrewrite.text.PlainTextParser.Builder
- plainTextMasks(Collection<PathMatcher>) - Method in class org.openrewrite.text.PlainTextParser.Builder
- PlainTextParser - Class in org.openrewrite.text
- PlainTextParser() - Constructor for class org.openrewrite.text.PlainTextParser
- PlainTextParser.Builder - Class in org.openrewrite.text
- PlainTextPrinter<P> - Class in org.openrewrite.text
- PlainTextPrinter() - Constructor for class org.openrewrite.text.PlainTextPrinter
- PlainTextVisitor<P> - Class in org.openrewrite.text
- PlainTextVisitor() - Constructor for class org.openrewrite.text.PlainTextVisitor
- pollMessage(String) - Method in class org.openrewrite.Cursor
-
Finds the message matching the provided key, removing it from the message map.
- pollMessage(String) - Method in class org.openrewrite.DelegatingExecutionContext
- pollMessage(String) - Method in interface org.openrewrite.ExecutionContext
- pollMessage(String) - Method in class org.openrewrite.InMemoryExecutionContext
- pollMessage(String) - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- pollMessage(String, T) - Method in interface org.openrewrite.ExecutionContext
- pollNearestMessage(String) - Method in class org.openrewrite.Cursor
-
Finds the closest message matching the provided key, removing it from the message map.
- Position() - Constructor for class org.openrewrite.marker.Range.Position
- post(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- POST - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- postVisit(T, P) - Method in class org.openrewrite.TreeVisitor
- PRE_RELEASE_ENDING - Static variable in interface org.openrewrite.semver.VersionComparator
- Preconditions - Class in org.openrewrite
- Preconditions() - Constructor for class org.openrewrite.Preconditions
- preVisit(Tree, Integer) - Method in class org.openrewrite.internal.FindRecipeRunException
- preVisit(T, P) - Method in class org.openrewrite.TreeVisitor
- print() - Method in class org.openrewrite.internal.LoggingMeterRegistry
- print(CategoryTree.PrintOptions) - Method in class org.openrewrite.config.CategoryTree.Root
- print(Cursor) - Method in interface org.openrewrite.Tree
- print(Cursor, UnaryOperator<String>, boolean) - Method in interface org.openrewrite.marker.Marker
- print(Cursor, UnaryOperator<String>, boolean) - Method in interface org.openrewrite.marker.Markup
- print(Cursor, UnaryOperator<String>, boolean) - Method in class org.openrewrite.marker.SearchResult
- print(Cursor, PrintOutputCapture<P>) - Method in interface org.openrewrite.Tree
- print(TreeVisitor<?, PrintOutputCapture<Integer>>) - Method in interface org.openrewrite.Tree
- printAll() - Method in interface org.openrewrite.SourceFile
- printAll(PrintOutputCapture<P>) - Method in interface org.openrewrite.SourceFile
- printAll(P) - Method in class org.openrewrite.binary.Binary
- printAll(P) - Method in interface org.openrewrite.remote.Remote
- printAll(P) - Method in interface org.openrewrite.SourceFile
- printAllAsBytes() - Method in interface org.openrewrite.SourceFile
- printAllAsBytes(P) - Method in class org.openrewrite.binary.Binary
- printAllAsBytes(P) - Method in interface org.openrewrite.SourceFile
- printAllTrimmed() - Method in interface org.openrewrite.SourceFile
- printAllTrimmed(P) - Method in class org.openrewrite.binary.Binary
- printAllTrimmed(P) - Method in interface org.openrewrite.remote.Remote
- printAllTrimmed(P) - Method in interface org.openrewrite.SourceFile
- printEqualsInput(Parser.Input, ExecutionContext) - Method in interface org.openrewrite.SourceFile
-
Does this source file represented as an LST, when printed, produce a byte-for-byte identical result to the original input source file?
- printer(Cursor) - Method in class org.openrewrite.quark.Quark
- printer(Cursor) - Method in interface org.openrewrite.remote.Remote
- printer(Cursor) - Method in interface org.openrewrite.SourceFile
- printer(Cursor) - Method in class org.openrewrite.text.PlainText
- printer(Cursor) - Method in class org.openrewrite.text.PlainText.Snippet
- printer(Cursor) - Method in class org.openrewrite.tree.ParseError
- printer(Cursor) - Method in interface org.openrewrite.Tree
- PrintOptions() - Constructor for class org.openrewrite.config.CategoryTree.PrintOptions
- PrintOutputCapture<P> - Class in org.openrewrite
- PrintOutputCapture(P) - Constructor for class org.openrewrite.PrintOutputCapture
- PrintOutputCapture(P, PrintOutputCapture.MarkerPrinter) - Constructor for class org.openrewrite.PrintOutputCapture
- PrintOutputCapture.MarkerPrinter - Interface in org.openrewrite
- printTrimmed(Cursor) - Method in interface org.openrewrite.Tree
- printTrimmed(TreeVisitor<?, PrintOutputCapture<Integer>>) - Method in interface org.openrewrite.Tree
- printTrimmed(P, Cursor) - Method in interface org.openrewrite.Tree
- property - Variable in class org.openrewrite.Validated.Valid
- propertyChanged(String, Cursor, Tree, Object, Object) - Method in interface org.openrewrite.TreeObserver
- PropertyPlaceholderHelper - Class in org.openrewrite.internal
-
Simplified from Spring's PropertyPlaceholderHelper.
- PropertyPlaceholderHelper(String, String, String) - Constructor for class org.openrewrite.internal.PropertyPlaceholderHelper
- put(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- put(URI, InputStream, Consumer<Throwable>) - Method in class org.openrewrite.remote.LocalRemoteArtifactCache
- put(URI, InputStream, Consumer<Throwable>) - Method in interface org.openrewrite.remote.RemoteArtifactCache
- PUT - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- putAll(G, Environment) - Method in class org.openrewrite.config.CategoryTree.Root
- putCategories(G, CategoryDescriptor...) - Method in class org.openrewrite.config.CategoryTree.Root
- putCurrentRecipe(Recipe) - Method in interface org.openrewrite.ExecutionContext
- putCycle(RecipeRunCycle<?>) - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- putMessage(String, Object) - Method in class org.openrewrite.DelegatingExecutionContext
- putMessage(String, Object) - Method in interface org.openrewrite.ExecutionContext
- putMessage(String, Object) - Method in class org.openrewrite.InMemoryExecutionContext
- putMessage(String, Object) - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- putMessage(String, Object) - Method in class org.openrewrite.Cursor
- putMessageInCollection(String, V, Supplier<C>) - Method in interface org.openrewrite.ExecutionContext
- putMessageInSet(String, T) - Method in interface org.openrewrite.ExecutionContext
- putMessageOnFirstEnclosing(Class<?>, String, Object) - Method in class org.openrewrite.Cursor
- putRecipes(G, RecipeDescriptor...) - Method in class org.openrewrite.config.CategoryTree.Root
Q
- Quark - Class in org.openrewrite.quark
- Quark() - Constructor for class org.openrewrite.quark.Quark
- QuarkParser - Class in org.openrewrite.quark
- QuarkParser() - Constructor for class org.openrewrite.quark.QuarkParser
- QuarkParser.Builder - Class in org.openrewrite.quark
- QuarkPrinter<P> - Class in org.openrewrite.quark
- QuarkPrinter() - Constructor for class org.openrewrite.quark.QuarkPrinter
- QuarkVisitor<P> - Class in org.openrewrite.quark
- QuarkVisitor() - Constructor for class org.openrewrite.quark.QuarkVisitor
R
- randomId() - Static method in interface org.openrewrite.Tree
- Range - Class in org.openrewrite.marker
- Range() - Constructor for class org.openrewrite.marker.Range
- Range.Position - Class in org.openrewrite.marker
- read() - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- read(byte[]) - Method in class org.openrewrite.RecipeSerializer
- read(InputStream) - Method in class org.openrewrite.RecipeSerializer
- readAllBytes(InputStream) - Static method in class org.openrewrite.internal.StreamUtils
- readFully() - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- readFully(InputStream) - Static method in class org.openrewrite.internal.StringUtils
- readFully(InputStream, Charset) - Static method in class org.openrewrite.internal.StringUtils
-
If the input stream is coming from a stream with an unknown encoding, use
EncodingDetectingInputStream.readFully()
instead. - readPipe(File, String[], String) - Static method in class org.eclipse.jgit.util.FS
-
Execute a command and return a single line of output as a String
- readPipe(File, String[], String, Map<String, String>) - Static method in class org.eclipse.jgit.util.FS
-
Execute a command and return a single line of output as a String
- readSymLink(File) - Method in class org.eclipse.jgit.util.FS
-
Check if a file is a symbolic link and read it
- Recipe - Class in org.openrewrite
-
Provides a formalized link list data structure of
recipes
and aRecipe.run(LargeSourceSet, ExecutionContext)
method which will apply each recipesvisitor
visit method to a list ofsourceFiles
- Recipe() - Constructor for class org.openrewrite.Recipe
- RecipeDescriptor - Class in org.openrewrite.config
- RecipeDescriptor() - Constructor for class org.openrewrite.config.RecipeDescriptor
- RecipeExample - Class in org.openrewrite.config
- RecipeExample() - Constructor for class org.openrewrite.config.RecipeExample
- RecipeExample.Source - Class in org.openrewrite.config
- RecipeException - Exception in org.openrewrite
-
When possible,
Recipe
should validate themselves prior to execution to prove that they are runnable without failure. - RecipeException(String) - Constructor for exception org.openrewrite.RecipeException
- RecipeException(String, Object...) - Constructor for exception org.openrewrite.RecipeException
- RecipeException(Throwable) - Constructor for exception org.openrewrite.RecipeException
- RecipeException(Throwable, String, Object...) - Constructor for exception org.openrewrite.RecipeException
- RecipeIntrospectionException - Exception in org.openrewrite.config
- RecipeIntrospectionException(String) - Constructor for exception org.openrewrite.config.RecipeIntrospectionException
- RecipeIntrospectionException(String, Throwable) - Constructor for exception org.openrewrite.config.RecipeIntrospectionException
- RecipeIntrospectionUtils - Class in org.openrewrite.internal
- RecipeIntrospectionUtils() - Constructor for class org.openrewrite.internal.RecipeIntrospectionUtils
- RecipeRun - Class in org.openrewrite
- RecipeRun() - Constructor for class org.openrewrite.RecipeRun
- RecipeRunCycle<LSS extends LargeSourceSet> - Class in org.openrewrite.scheduling
- RecipeRunCycle() - Constructor for class org.openrewrite.scheduling.RecipeRunCycle
- RecipeRunException - Exception in org.openrewrite.internal
-
This provides a way for us to capture the cursor position where an unexpected exception was thrown so that
RecipeScheduler
can add anMarkup.Error
marker on the part of the LST as part of the recipe running lifecycle. - RecipeRunException(Throwable, Cursor) - Constructor for exception org.openrewrite.internal.RecipeRunException
- RecipeRunStats - Class in org.openrewrite.table
- RecipeRunStats(Recipe) - Constructor for class org.openrewrite.table.RecipeRunStats
- RecipeRunStats.Row - Class in org.openrewrite.table
- RecipeScheduler - Class in org.openrewrite
- RecipeScheduler() - Constructor for class org.openrewrite.RecipeScheduler
- RecipeSerializer - Class in org.openrewrite
- RecipeSerializer() - Constructor for class org.openrewrite.RecipeSerializer
- RecipesThatMadeChanges - Class in org.openrewrite.marker
- RecipesThatMadeChanges() - Constructor for class org.openrewrite.marker.RecipesThatMadeChanges
- RecipeTimeoutException - Exception in org.openrewrite
- RecipeTimeoutException(Recipe) - Constructor for exception org.openrewrite.RecipeTimeoutException
- recipeVisit(Recipe, List<SourceFile>, ExecutionContext) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- recipeVisitor(Recipe) - Static method in class org.openrewrite.internal.RecipeIntrospectionUtils
- record(String, Consumer<Timer.Builder>) - Static method in class org.openrewrite.internal.MetricsHelper
- record(String, Function<Timer.Builder, U>) - Static method in class org.openrewrite.internal.MetricsHelper
- recordEdit(Recipe, Callable<SourceFile>) - Method in class org.openrewrite.table.RecipeRunStats
- recordScan(Recipe, Callable<SourceFile>) - Method in class org.openrewrite.table.RecipeRunStats
- recordSourceFileChanged(SourceFile, SourceFile) - Method in class org.openrewrite.table.RecipeRunStats
- reduce(Iterable<? extends Tree>, P) - Method in class org.openrewrite.TreeVisitor
- reduce(Tree, P) - Method in class org.openrewrite.TreeVisitor
- reduce(Tree, P, Cursor) - Method in class org.openrewrite.TreeVisitor
- ReflectionUtils - Class in org.openrewrite.internal
-
Clone of Spring Framework's org.springframework.util.ReflectionUtils, but with a few modifications.
- ReflectionUtils() - Constructor for class org.openrewrite.internal.ReflectionUtils
- relativize(String, String) - Method in class org.eclipse.jgit.util.FS
-
See
FileUtils.relativizePath(String, String, String, boolean)
. - RELEASE_PATTERN - Static variable in interface org.openrewrite.semver.VersionComparator
- RELEASE_SUFFIXES - Static variable in interface org.openrewrite.semver.VersionComparator
- Remote - Interface in org.openrewrite.remote
-
Represents a source hosted at a remote URI.
- Remote.Builder - Class in org.openrewrite.remote
- RemoteArchive - Class in org.openrewrite.remote
-
Represents a source to be extracted from within an archive hosted at a remote URI.
- RemoteArchive() - Constructor for class org.openrewrite.remote.RemoteArchive
- RemoteArtifactCache - Interface in org.openrewrite.remote
- RemoteExecutionContextView - Class in org.openrewrite.remote
- RemoteFile - Class in org.openrewrite.remote
- RemoteFile() - Constructor for class org.openrewrite.remote.RemoteFile
- RemoteVisitor<P> - Class in org.openrewrite.remote
- RemoteVisitor() - Constructor for class org.openrewrite.remote.RemoteVisitor
- removeAll(G) - Method in class org.openrewrite.config.CategoryTree.Root
- removeByType(Class<? extends Marker>) - Method in class org.openrewrite.marker.Markers
- RenameFile - Class in org.openrewrite
- RenameFile() - Constructor for class org.openrewrite.RenameFile
- repeat(String, int) - Static method in class org.openrewrite.internal.StringUtils
- Repeat - Class in org.openrewrite
- Repeat() - Constructor for class org.openrewrite.Repeat
- repeatUntilStable(TreeVisitor<?, ExecutionContext>) - Static method in class org.openrewrite.Repeat
-
Returns a new visitor which runs the supplied visitor in a loop until no more changes are made, or a maximum of 3 cycles is reached.
- repeatUntilStable(TreeVisitor<?, ExecutionContext>, int) - Static method in class org.openrewrite.Repeat
-
Returns a new visitor which runs the supplied visitor in a loop until no more changes are made, or the maximum number of cycles is reached.
- Replace - Enum constant in enum class org.openrewrite.text.AppendToTextFile.Strategy
- replaceFirst(String, String, String) - Static method in class org.openrewrite.internal.StringUtils
-
This method will search and replace the first occurrence of a matching substring.
- replacePlaceholders(String, Function<String, String>) - Method in class org.openrewrite.internal.PropertyPlaceholderHelper
- replacePlaceholders(String, Properties) - Method in class org.openrewrite.internal.PropertyPlaceholderHelper
- Request(URL, byte[], HttpSender.Method, Map<String, String>) - Constructor for class org.openrewrite.ipc.http.HttpSender.Request
- REQUIRE_PRINT_EQUALS_INPUT - Static variable in interface org.openrewrite.ExecutionContext
- required() - Element in annotation interface org.openrewrite.Option
- required(String, T) - Static method in interface org.openrewrite.Validated
- requirePrintEqualsInput(SourceFile, Parser.Input, Path, ExecutionContext) - Method in interface org.openrewrite.Parser
- reset() - Method in interface org.openrewrite.Parser
- resetHasNewMessages() - Method in class org.openrewrite.scheduling.WatchableExecutionContext
- resolve(File, String) - Method in class org.eclipse.jgit.util.FS
-
Resolve this file to its actual path name that the JRE can use.
- resolveGrandparentFile(File) - Static method in class org.eclipse.jgit.util.FS
-
Get the parent directory of this file's parent directory
- ResourceLoader - Interface in org.openrewrite.config
- Response(int, InputStream, Runnable) - Constructor for class org.openrewrite.ipc.http.HttpSender.Response
- Result - Class in org.openrewrite
- Result(SourceFile, SourceFile, Collection<List<Recipe>>) - Constructor for class org.openrewrite.Result
- Result(SourceFile, SourceFile) - Constructor for class org.openrewrite.Result
- rethrow(ThrowingConsumer<T>) - Static method in class org.openrewrite.internal.Throwing
- retryFailedLockFileCommit() - Method in class org.eclipse.jgit.util.FS
-
Does this file system have problems with atomic renames?
- RewriteRecipeSource - Class in org.openrewrite.table
- RewriteRecipeSource(Recipe) - Constructor for class org.openrewrite.table.RewriteRecipeSource
- RewriteRecipeSource.RecipeType - Enum Class in org.openrewrite.table
- RewriteRecipeSource.Row - Class in org.openrewrite.table
- right - Variable in class org.openrewrite.Validated.Both
- ROOT_VALUE - Static variable in class org.openrewrite.Cursor
- Row() - Constructor for class org.openrewrite.table.ClasspathReport.Row
- Row() - Constructor for class org.openrewrite.table.CollidingSourceFiles.Row
- Row() - Constructor for class org.openrewrite.table.CommitsByDay.Row
- Row() - Constructor for class org.openrewrite.table.DistinctCommitters.Row
- Row() - Constructor for class org.openrewrite.table.DistinctGitProvenance.Row
- Row() - Constructor for class org.openrewrite.table.LstProvenanceTable.Row
- Row() - Constructor for class org.openrewrite.table.ParseFailures.Row
- Row() - Constructor for class org.openrewrite.table.ParseToPrintInequalities.Row
- Row() - Constructor for class org.openrewrite.table.RecipeRunStats.Row
- Row() - Constructor for class org.openrewrite.table.RewriteRecipeSource.Row
- Row() - Constructor for class org.openrewrite.table.SourcesFileErrors.Row
- Row() - Constructor for class org.openrewrite.table.SourcesFileResults.Row
- Row() - Constructor for class org.openrewrite.table.SourcesFiles.Row
- run(LargeSourceSet, ExecutionContext) - Method in class org.openrewrite.Recipe
- run(LargeSourceSet, ExecutionContext, int) - Method in class org.openrewrite.Recipe
- run(LargeSourceSet, ExecutionContext, int, int) - Method in class org.openrewrite.Recipe
- RUN_TIMEOUT - Static variable in interface org.openrewrite.ExecutionContext
- runHookIfPresent(Repository, String, String[]) - Method in class org.eclipse.jgit.util.FS
-
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.
- runHookIfPresent(Repository, String, String[], OutputStream, OutputStream, String) - Method in class org.eclipse.jgit.util.FS
-
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.
- runInShell(String, String[]) - Method in class org.eclipse.jgit.util.FS
-
Initialize a ProcessBuilder to run a command using the system shell.
- runProcess(ProcessBuilder, OutputStream, OutputStream, InputStream) - Method in class org.eclipse.jgit.util.FS
-
Runs the given process until termination, clearing its stdout and stderr streams on-the-fly.
- runProcess(ProcessBuilder, OutputStream, OutputStream, String) - Method in class org.eclipse.jgit.util.FS
-
Runs the given process until termination, clearing its stdout and stderr streams on-the-fly.
S
- safeCast() - Method in interface org.openrewrite.Tree
- sanitizeStackTrace(Throwable, Class<?>) - Static method in class org.openrewrite.internal.ExceptionUtils
-
Shorten a stack trace to the first invocation of a particular class.
- scanClassLoader(ClassLoader) - Method in class org.openrewrite.config.Environment.Builder
- scanJar(Path, Collection<Path>, ClassLoader) - Method in class org.openrewrite.config.Environment.Builder
- ScanningRecipe<T> - Class in org.openrewrite
-
A recipe that may first scan a repository and study it in one pass over the repository's source files before, in another pass, it decides how to transform the code.
- ScanningRecipe() - Constructor for class org.openrewrite.ScanningRecipe
- scanRuntimeClasspath(String...) - Method in class org.openrewrite.config.Environment.Builder
- scanSources(LSS) - Method in class org.openrewrite.scheduling.RecipeRunCycle
- scanUserHome() - Method in class org.openrewrite.config.Environment.Builder
- scanYamlResources() - Method in class org.openrewrite.config.Environment.Builder
- scheduleRun(Recipe, LargeSourceSet, ExecutionContext, int, int) - Method in class org.openrewrite.RecipeScheduler
- searchPath(String, String...) - Static method in class org.eclipse.jgit.util.FS
-
Searches the given path to see if it contains one of the given files.
- SearchResult - Class in org.openrewrite.marker
- SearchResult() - Constructor for class org.openrewrite.marker.SearchResult
- Secret(String, String) - Constructor for class org.openrewrite.Validated.Secret
- SelfLoathing - Annotation Interface in org.openrewrite.internal
-
Because I did something that I'm not proud of.
- Semver - Class in org.openrewrite.semver
- send() - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- send(HttpSender.Request) - Method in interface org.openrewrite.ipc.http.HttpSender
- send(HttpSender.Request) - Method in class org.openrewrite.ipc.http.HttpUrlConnectionSender
- send(HttpSender.Request) - Method in class org.openrewrite.ipc.http.OkHttpSender
- separatorsToSystem(String) - Static method in class org.openrewrite.PathUtils
- separatorsToUnix(String) - Static method in class org.openrewrite.PathUtils
- separatorsToWindows(String) - Static method in class org.openrewrite.PathUtils
- setArtifactCache(RemoteArtifactCache) - Method in class org.openrewrite.remote.RemoteExecutionContextView
- setAsyncFileStoreAttributes(boolean) - Static method in class org.eclipse.jgit.util.FS
-
Deprecated.Use
FS.FileStoreAttributes.setBackground(boolean)
instead - setBackground(boolean) - Static method in class org.eclipse.jgit.util.FS.FileStoreAttributes
-
Whether FileStore attributes should be determined asynchronously
- setByType(M) - Method in class org.openrewrite.marker.Markers
- setCharset(Charset) - Method in class org.openrewrite.tree.ParsingExecutionContextView
- setCharset(String) - Method in class org.openrewrite.text.TextStyle
- setCursor(Cursor) - Method in class org.openrewrite.TreeVisitor
- setExecute(File, boolean) - Method in class org.eclipse.jgit.util.FS
-
Set a file to be executable by the user.
- SetFilePermissions - Class in org.openrewrite
- SetFilePermissions() - Constructor for class org.openrewrite.SetFilePermissions
- setGitSystemConfig(File) - Method in class org.eclipse.jgit.util.FS
-
Set the path to the system-wide Git configuration file to use.
- setHidden(File, boolean) - Method in class org.eclipse.jgit.util.FS
-
Set the hidden attribute for file whose name starts with a period.
- setHttpSender(HttpSender) - Method in class org.openrewrite.HttpSenderExecutionContextView
- setLargeFileHttpSender(HttpSender) - Method in class org.openrewrite.HttpSenderExecutionContextView
- setLastModified(File, long) - Method in class org.eclipse.jgit.util.FS
-
Deprecated.use
FS.setLastModified(Path, Instant)
instead - setLastModified(Path, Instant) - Method in class org.eclipse.jgit.util.FS
-
Set the last modified time of a file system object.
- setOpenApiToken(String) - Method in class org.openrewrite.ai.AIExecutionContextView
- setParsingListener(ParsingEventListener) - Method in class org.openrewrite.tree.ParsingExecutionContextView
- SetRange - Class in org.openrewrite.semver
- setRecipe(List<Recipe>) - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- setRecipe(List<Recipe>) - Method in interface org.openrewrite.LargeSourceSet
-
Maintain context about what recipe is performing an edit or generating code.
- setRoot(Path) - Method in class org.openrewrite.scheduling.WorkingDirectoryExecutionContextView
-
This should not be called from recipes, but only from tools that are creating instantiating recipe runs directly.
- setSource(URI) - Method in exception org.openrewrite.ValidationException
- setUserHome(File) - Method in class org.eclipse.jgit.util.FS
-
Set the user's home directory location.
- sha256(SourceFile, ExecutionContext) - Static method in class org.openrewrite.Checksum
- since() - Element in annotation interface org.openrewrite.Incubating
- size() - Method in interface org.openrewrite.Changeset
- sneakyThrow(Throwable) - Static method in class org.openrewrite.internal.Throwing
-
The compiler sees the signature with the throws T inferred to a RuntimeException type, so it allows the unchecked exception to propagate.
- Snippet() - Constructor for class org.openrewrite.text.PlainText.Snippet
- SOLARIS - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- Source() - Constructor for class org.openrewrite.config.RecipeExample.Source
- SourceFile - Interface in org.openrewrite
- sourcePath - Variable in class org.openrewrite.remote.Remote.Builder
- sourcePathFromSourceText(Path, String) - Method in class org.openrewrite.binary.BinaryParser
- sourcePathFromSourceText(Path, String) - Method in interface org.openrewrite.Parser
- sourcePathFromSourceText(Path, String) - Method in class org.openrewrite.quark.QuarkParser
- sourcePathFromSourceText(Path, String) - Method in class org.openrewrite.text.PlainTextParser
- SourceSet - Interface in org.openrewrite.marker
- SourcesFileErrors - Class in org.openrewrite.table
- SourcesFileErrors(Recipe) - Constructor for class org.openrewrite.table.SourcesFileErrors
- SourcesFileErrors.Row - Class in org.openrewrite.table
- SourcesFileResults - Class in org.openrewrite.table
- SourcesFileResults(Recipe) - Constructor for class org.openrewrite.table.SourcesFileResults
- SourcesFileResults.Row - Class in org.openrewrite.table
- SourcesFiles - Class in org.openrewrite.table
- SourcesFiles(Recipe) - Constructor for class org.openrewrite.table.SourcesFiles
- SourcesFiles.Row - Class in org.openrewrite.table
- SourceTemplate<T extends Tree,
C extends Coordinates> - Interface in org.openrewrite.template - STANDARD_OPTION_DESCRIPTION - Static variable in class org.openrewrite.semver.DependencyMatcher
- startedParsing(Parser.Input) - Method in interface org.openrewrite.tree.ParsingEventListener
- stopAfterPreVisit() - Method in class org.openrewrite.TreeVisitor
-
Can be used in
TreeVisitor.preVisit(Tree, Object)
to prevent a call toTreeVisitor.visit(Tree, Object)
andTreeVisitor.postVisit(Tree, Object)
, therefore stopping further navigation deeper down the tree. - StreamUtils - Class in org.openrewrite.internal
- StreamUtils() - Constructor for class org.openrewrite.internal.StreamUtils
- StringUtils - Class in org.openrewrite.internal
- Style - Interface in org.openrewrite.style
-
Styles represent project-level standards that each source file is expected to follow, e.g.
- StyleHelper - Class in org.openrewrite.style
- StyleHelper() - Constructor for class org.openrewrite.style.StyleHelper
- subscribe(Tree) - Method in class org.openrewrite.TreeObserver.Subscription
- subscribe(Predicate<Tree>) - Method in class org.openrewrite.TreeObserver.Subscription
- subscribeAll() - Method in class org.openrewrite.TreeObserver.Subscription
- subscribeAll(Tree) - Method in class org.openrewrite.TreeObserver.Subscription
- subscribeToType(Class<? extends Tree>) - Method in class org.openrewrite.TreeObserver.Subscription
- Subscription(TreeObserver) - Constructor for class org.openrewrite.TreeObserver.Subscription
- successTags(Timer.Builder) - Static method in class org.openrewrite.internal.MetricsHelper
- successTags(Timer.Builder, String) - Static method in class org.openrewrite.internal.MetricsHelper
- supportsAtomicCreateNewFile() - Method in class org.eclipse.jgit.util.FS
-
Does this file system support atomic file creation via java.io.File#createNewFile()? In certain environments (e.g.
- supportsExecute() - Method in class org.eclipse.jgit.util.FS
-
Does this operating system and JRE support the execute flag on files?
- supportsSymlinks() - Method in class org.eclipse.jgit.util.FS
-
Does this operating system and JRE supports symbolic links.
T
- TeamcityBuildEnvironment - Class in org.openrewrite.marker.ci
- TeamcityBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.TeamcityBuildEnvironment
- test(String, String, T, Predicate<T>) - Static method in interface org.openrewrite.Validated
-
Validate that the Predicate will evaluate to 'true' on the supplied value.
- testNone(String, String, V, Predicate<V>) - Static method in interface org.openrewrite.Validated
-
Validate that the Predicate will evaluate to 'true' on the supplied value.
- TextStyle - Class in org.openrewrite.text
- TextStyle() - Constructor for class org.openrewrite.text.TextStyle
- Throwing - Class in org.openrewrite.internal
- ThrowingConsumer<T> - Interface in org.openrewrite.internal
- TildeRange - Class in org.openrewrite.semver
-
Allows patch-level changes if a minor version is specified on the comparator.
- toException() - Method in class org.openrewrite.tree.ParseError
- toString() - Method in class org.eclipse.jgit.util.FS.FileStoreAttributes
- toString() - Method in class org.eclipse.jgit.util.FS.LockToken
- toString() - Method in class org.openrewrite.config.CategoryTree.Root
- toString() - Method in class org.openrewrite.config.CategoryTree
- toString() - Method in class org.openrewrite.Cursor
- toString() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- toString() - Method in class org.openrewrite.marker.OperatingSystemProvenance
- toString() - Method in class org.openrewrite.Result
- toString() - Method in class org.openrewrite.Validated.Invalid
- toString() - Method in class org.openrewrite.Validated.Secret
- toString() - Method in class org.openrewrite.Validated.Valid
- TravisBuildEnvironment - Class in org.openrewrite.marker.ci
- TravisBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.TravisBuildEnvironment
- Tree - Interface in org.openrewrite
- treeChanged(Cursor, Tree) - Method in interface org.openrewrite.TreeObserver
- TreeObserver - Interface in org.openrewrite
- TreeObserver.Subscription - Class in org.openrewrite
- TreeVisitor<T extends Tree,
P> - Class in org.openrewrite -
Abstract
TreeVisitor
for processingelements
- TreeVisitor() - Constructor for class org.openrewrite.TreeVisitor
- TreeVisitorAdapter - Class in org.openrewrite.internal
- TreeVisitorAdapterClassLoader - Class in org.openrewrite.internal
- TreeVisitorAdapterClassLoader(ClassLoader) - Constructor for class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- trimIndent(String) - Static method in class org.openrewrite.internal.StringUtils
-
Detects a common minimal indent of all the input lines and removes the indent from each line.
- trimIndentPreserveCRLF(String) - Static method in class org.openrewrite.internal.StringUtils
- True - Enum constant in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
U
- uncapitalize(String) - Static method in class org.openrewrite.internal.StringUtils
- UNIX - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- unload(ClassLoader) - Static method in class org.openrewrite.internal.TreeVisitorAdapter
- updateCursor(T) - Method in class org.openrewrite.TreeVisitor
-
Updates the cursor on this visitor and returns the updated cursor.
- upgrade(String, Collection<String>) - Method in class org.openrewrite.semver.DependencyMatcher
- upgrade(String, Collection<String>) - Method in interface org.openrewrite.semver.VersionComparator
- UPPER_CAMEL - Enum constant in enum class org.openrewrite.internal.NameCaseConvention
-
Camel case with the first letter uppercase, e.g., "UpperCamel".
- UPPER_UNDERSCORE - Enum constant in enum class org.openrewrite.internal.NameCaseConvention
-
Underscore separated with all letters uppercase, e.g., "UPPER_UNDERSCORE".
- uri - Variable in class org.openrewrite.remote.Remote.Builder
- url(String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- userHome() - Method in class org.eclipse.jgit.util.FS
-
Determine the user's home directory (location where preferences are).
- userHomeImpl() - Method in class org.eclipse.jgit.util.FS
-
Determine the user's home directory (location where preferences are).
V
- valid() - Element in annotation interface org.openrewrite.Option
- valid(String, T) - Static method in interface org.openrewrite.Validated
- Valid(String, T) - Constructor for class org.openrewrite.Validated.Valid
- validate() - Method in class org.openrewrite.config.DeclarativeNamedStyles
- validate() - Method in class org.openrewrite.config.DeclarativeRecipe
- validate() - Method in class org.openrewrite.Recipe
-
The default implementation of validate on the recipe will look for package and field level annotations that indicate a field is not-null.
- validate() - Method in class org.openrewrite.style.NamedStyles
- validate(String, String) - Static method in class org.openrewrite.semver.Semver
- validate(ExecutionContext) - Method in class org.openrewrite.Recipe
- validateAll() - Method in class org.openrewrite.Recipe
- validateAll(ExecutionContext, Collection<Validated<Object>>) - Method in class org.openrewrite.Recipe
- Validated<T> - Interface in org.openrewrite
-
A container object which may or may not contain a valid value.
- Validated.Both<T> - Class in org.openrewrite
- Validated.Either<T> - Class in org.openrewrite
- Validated.Invalid<T> - Class in org.openrewrite
- Validated.Missing<T> - Class in org.openrewrite
- Validated.None<T> - Class in org.openrewrite
-
Indicates that no validation has occurred.
- Validated.Secret - Class in org.openrewrite
-
A specialization
Validated.Valid
that won't print the secret in plain text if the validation is serialized. - Validated.Valid<T> - Class in org.openrewrite
-
A valid property value.
- ValidationException - Exception in org.openrewrite
-
Turns a set of
Validated.Invalid
into a throwable exception, which is used to throw an unchecked exception at runtime when one or more properties are invalid. - ValidationException(Validated<?>) - Constructor for exception org.openrewrite.ValidationException
- ValidationException(Validated<?>, URI) - Constructor for exception org.openrewrite.ValidationException
- validSecret(String, String) - Static method in interface org.openrewrite.Validated
- value() - Element in annotation interface org.openrewrite.DocumentExample
- value() - Element in annotation interface org.openrewrite.internal.LoathingOfOthers
- valueOf(String) - Static method in enum class org.openrewrite.config.CategoryTree.PrintNameStyle
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.internal.NameCaseConvention
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.ipc.http.HttpSender.Method
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.marker.BuildTool.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.marker.GitProvenance.EOL
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.marker.LstProvenance.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.marker.OperatingSystemProvenance.EOL
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.table.RewriteRecipeSource.RecipeType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.openrewrite.text.AppendToTextFile.Strategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.openrewrite.config.CategoryTree.PrintNameStyle
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.internal.NameCaseConvention
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.ipc.http.HttpSender.Method
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.marker.BuildTool.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.marker.GitProvenance.EOL
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.marker.LstProvenance.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.marker.OperatingSystemProvenance.EOL
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.table.RewriteRecipeSource.RecipeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.openrewrite.text.AppendToTextFile.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERBOSE - Static variable in interface org.openrewrite.PrintOutputCapture.MarkerPrinter
- VersionComparator - Interface in org.openrewrite.semver
- view(ExecutionContext) - Static method in class org.openrewrite.ai.AIExecutionContextView
- view(ExecutionContext) - Static method in class org.openrewrite.HttpSenderExecutionContextView
- view(ExecutionContext) - Static method in class org.openrewrite.remote.RemoteExecutionContextView
- view(ExecutionContext) - Static method in class org.openrewrite.scheduling.WorkingDirectoryExecutionContextView
- view(ExecutionContext) - Static method in class org.openrewrite.tree.ParsingExecutionContextView
- visit(List<? extends T>, P) - Method in class org.openrewrite.TreeVisitor
- visit(Tree, ExecutionContext) - Method in class org.openrewrite.CreateFileVisitor
- visit(Tree, P) - Method in class org.openrewrite.TreeVisitor
- visit(Tree, P, Cursor) - Method in class org.openrewrite.TreeVisitor
- visitAndCast(Tree, P) - Method in class org.openrewrite.TreeVisitor
- visitAndCast(T2, P, BiFunction<T2, P, Tree>) - Method in class org.openrewrite.TreeVisitor
- visitBinary(Binary, P) - Method in class org.openrewrite.binary.BinaryVisitor
- visitMarker(Marker, P) - Method in class org.openrewrite.TreeVisitor
- visitMarkers(Markers, P) - Method in class org.openrewrite.TreeVisitor
- visitNonNull(Tree, P) - Method in class org.openrewrite.TreeVisitor
-
By calling this method, you are asserting that you know that the outcome will be non-null when the compiler couldn't otherwise prove this to be the case.
- visitNonNull(Tree, P, Cursor) - Method in class org.openrewrite.TreeVisitor
- visitorTreeType(Class<? extends TreeVisitor>) - Method in class org.openrewrite.TreeVisitor
- visitParseError(ParseError, PrintOutputCapture<P>) - Method in class org.openrewrite.ParseErrorPrinter
- visitParseError(ParseError, P) - Method in class org.openrewrite.ParseErrorVisitor
- visitQuark(Quark, PrintOutputCapture<P>) - Method in class org.openrewrite.quark.QuarkPrinter
- visitQuark(Quark, P) - Method in class org.openrewrite.quark.QuarkVisitor
- visitRemote(Remote, P) - Method in class org.openrewrite.remote.RemoteVisitor
- visitSnippet(PlainText.Snippet, PrintOutputCapture<P>) - Method in class org.openrewrite.text.PlainTextPrinter
- visitSnippet(PlainText.Snippet, P) - Method in class org.openrewrite.text.PlainTextVisitor
- visitText(PlainText, PrintOutputCapture<P>) - Method in class org.openrewrite.text.PlainTextPrinter
- visitText(PlainText, P) - Method in class org.openrewrite.text.PlainTextVisitor
W
- warn(T, Throwable) - Static method in interface org.openrewrite.marker.Markup
- Warn(UUID, String, String) - Constructor for class org.openrewrite.marker.Markup.Warn
- Warn(UUID, Throwable) - Constructor for class org.openrewrite.marker.Markup.Warn
- WatchableExecutionContext - Class in org.openrewrite.scheduling
- WatchableExecutionContext() - Constructor for class org.openrewrite.scheduling.WatchableExecutionContext
- WINDOWS - Static variable in class org.openrewrite.marker.OperatingSystemProvenance
- withAuthentication(String, String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Configures the
Authorization
HTTP header with the given type and credentials. - withBasicAuthentication(String, String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
If user and password are non-empty, set basic authentication on the request.
- withChanges(Map<SourceFile, List<Recipe>>, List<SourceFile>) - Method in class org.openrewrite.internal.InMemoryLargeSourceSet
- withCharset(Charset) - Method in class org.openrewrite.binary.Binary
- withCharset(Charset) - Method in class org.openrewrite.quark.Quark
- withCharset(Charset) - Method in interface org.openrewrite.SourceFile
- withCharset(Charset) - Method in class org.openrewrite.text.PlainText
- withCharset(Charset) - Method in class org.openrewrite.tree.ParseError
- withCharsetBomMarked(boolean) - Method in class org.openrewrite.binary.Binary
- withCharsetBomMarked(boolean) - Method in class org.openrewrite.quark.Quark
- withCharsetBomMarked(boolean) - Method in interface org.openrewrite.SourceFile
- withChecksum(Checksum) - Method in interface org.openrewrite.remote.Remote
- withChecksum(Checksum) - Method in interface org.openrewrite.SourceFile
- withContent(String, byte[]) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Set the request body.
- withContent(String, String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Set the request body.
- withDescription(String) - Method in interface org.openrewrite.remote.Remote
- withFileAttributes(FileAttributes) - Method in interface org.openrewrite.SourceFile
- withHeader(String, String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Add a header to the request.
- withId(UUID) - Method in interface org.openrewrite.marker.Marker
- withId(UUID) - Method in interface org.openrewrite.Tree
- withJsonContent(String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Set the request body as JSON content type.
- withMarkers(Markers) - Method in interface org.openrewrite.Tree
- withMethod(HttpSender.Method) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Set the request method.
- withMultipartFile(File) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- withName(String) - Method in interface org.openrewrite.marker.SourceSet
- withPlainText(String) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
-
Set the request body as plain text content type.
- withSnippets(List<PlainText.Snippet>) - Method in class org.openrewrite.text.PlainText
- withSourcePath(Path) - Method in interface org.openrewrite.SourceFile
- withText(String) - Method in class org.openrewrite.text.PlainText
- withUri(URI) - Method in interface org.openrewrite.remote.Remote
- WORKING_DIRECTORY_ROOT - Static variable in class org.openrewrite.scheduling.WorkingDirectoryExecutionContextView
- WorkingDirectoryExecutionContextView - Class in org.openrewrite.scheduling
-
Recipes that need to write (or download somehow and read) resources from disk as part of their operation can use this view to receive a safe directory to use.
- write(String, byte[]) - Method in class org.openrewrite.internal.TreeVisitorAdapterClassLoader
- write(Recipe) - Method in class org.openrewrite.RecipeSerializer
- write(Recipe, OutputStream) - Method in class org.openrewrite.RecipeSerializer
X
- XRange - Class in org.openrewrite.semver
-
Any of X, x, or * may be used to "stand in" for one of the numeric values in the [major, minor, patch] tuple.
Y
- Yaml - Enum constant in enum class org.openrewrite.table.RewriteRecipeSource.RecipeType
- YamlResourceLoader - Class in org.openrewrite.config
- YamlResourceLoader(InputStream, URI, Properties) - Constructor for class org.openrewrite.config.YamlResourceLoader
-
Load a declarative recipe using the runtime classloader
- YamlResourceLoader(InputStream, URI, Properties, ClassLoader) - Constructor for class org.openrewrite.config.YamlResourceLoader
-
Load a declarative recipe, optionally using the specified classloader
- YamlResourceLoader(InputStream, URI, Properties, ClassLoader, Collection<? extends ResourceLoader>) - Constructor for class org.openrewrite.config.YamlResourceLoader
-
Load a declarative recipe, optionally using the specified classloader and optionally including resource loaders for recipes from dependencies.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form