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
- 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
- allOrigins() - Method in class org.openrewrite.GitRemote.RemoteServer
- 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(Supplier<TreeVisitor<?, ExecutionContext>>...) - Static method in class org.openrewrite.Preconditions
- 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
- asVisitor(VisitFunction<U>) - Method in interface org.openrewrite.trait.TraitMatcher
- asVisitor(VisitFunction2<U, P>) - Method in class org.openrewrite.trait.SimpleTraitMatcher
-
This method is called on every tree.
- asVisitor(VisitFunction2<U, P>) - Method in interface org.openrewrite.trait.TraitMatcher
- AzureDevOps - Enum constant in enum class org.openrewrite.GitRemote.Service
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
-
Deprecated.
- beforeCycle(boolean) - 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
- Bitbucket - Enum constant in enum class org.openrewrite.GitRemote.Service
- BitbucketBuildEnvironment - Class in org.openrewrite.marker.ci
- BitbucketBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.BitbucketBuildEnvironment
- BitbucketCloud - Enum constant in enum class org.openrewrite.GitRemote.Service
- 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) - Method in class org.openrewrite.Recipe.Builder
- 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.ExactVersionWithPattern
- build(String, String) - Static method in class org.openrewrite.semver.HyphenRange
- build(String, String) - Static method in class org.openrewrite.semver.LatestIntegration
- 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(String, String) - Static method in class org.openrewrite.Recipe
- 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.Recipe.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
- buildRecipeList(RecipeList) - Method in class org.openrewrite.Recipe
-
Used to build up a recipe list programmatically.
- 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
- 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
- Check(TreeVisitor<?, ExecutionContext>, TreeVisitor<?, ExecutionContext>) - Constructor for class org.openrewrite.Preconditions.Check
- 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.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.LatestIntegration
- 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
- 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. - convertNegationToWildcard(String) - Static method in class org.openrewrite.PathUtils
- 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
- createRecipeDescriptor() - Method in class org.openrewrite.config.DeclarativeRecipe
- createRecipeDescriptor() - Method in class org.openrewrite.Recipe
- 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
-
A cursor is linked path of LST elements that can be used to traverse down the tree towards the root.
- Cursor(Cursor, Object) - Constructor for class org.openrewrite.Cursor
- CursorValidatingExecutionContextView - Class in org.openrewrite
- CursorValidatingExecutionContextView(ExecutionContext) - Constructor for class org.openrewrite.CursorValidatingExecutionContextView
- 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(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
- DeserializationErrorTable - Class in org.openrewrite.table
- DeserializationErrorTable(Recipe) - Constructor for class org.openrewrite.table.DeserializationErrorTable
- DeserializationErrorTable.Row - Class in org.openrewrite.table
- 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
- 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.
- DotNet - Enum constant in enum class org.openrewrite.marker.LstProvenance.Type
- 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.GitRemote
- 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
-
Version selector for matching exact version: either explicitly prefixed with "=", or implicit default when no other version selectors match.
- ExactVersion(String) - Constructor for class org.openrewrite.semver.ExactVersion
- ExactVersionWithPattern - Class in org.openrewrite.semver
- ExactVersionWithPattern(String, String) - Constructor for class org.openrewrite.semver.ExactVersionWithPattern
- 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
- exec(List<String>, Path, Map<String, String>, Duration, ExecutionContext) - Method in interface org.openrewrite.shell.exec.ShellExecutor
- exec(List<String>, Path, Map<String, String>, ExecutionContext) - Method in interface org.openrewrite.shell.exec.ShellExecutor
- 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.
- exportCsv(ExecutionContext, DataTable<?>, Consumer<String>, List<?>) - Static method in class org.openrewrite.RecipeRun
- exportDatatablesToCsv(Path, ExecutionContext) - Method in class org.openrewrite.RecipeRun
F
- failures() - Method in interface org.openrewrite.Validated
- False - Enum constant in enum class org.openrewrite.marker.GitProvenance.AutoCRLF
- 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
- 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(GitProvenance, LocalDate) - Static method in class org.openrewrite.search.FindCommitters
- FindCommitters - Class in org.openrewrite.search
- FindCommitters() - Constructor for class org.openrewrite.search.FindCommitters
- FindDeserializationErrors - Class in org.openrewrite
- FindDeserializationErrors() - Constructor for class org.openrewrite.FindDeserializationErrors
- findFirst(Class<M>) - Method in class org.openrewrite.marker.Markers
- FindGitProvenance - Class in org.openrewrite
- FindGitProvenance() - Constructor for class org.openrewrite.FindGitProvenance
- 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
- findRemoteServer(String) - Method in class org.openrewrite.GitRemote.Parser
- 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 enum class org.openrewrite.GitRemote.Service
- 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
- fromFile(Path) - Static method in class org.openrewrite.Parser.Input
- 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
- fromProjectDirectory(Path, BuildEnvironment, GitRemote.Parser) - 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
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(AtomicReference<GitProvenance>, 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(Cursor) - Method in class org.openrewrite.trait.SimpleTraitMatcher
- get(Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
-
Tests whether a tree at the cursor matches the trait, and if so, returns a trait instance containing the semantic information represented by the tree.
- get(Tree, Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
- 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
- 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
- getConnectTimeout() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getContext() - Method in class org.openrewrite.PrintOutputCapture
- getContributors() - Method in class org.openrewrite.config.DeclarativeRecipe
- getContributors() - Method in class org.openrewrite.Recipe
- getCursor() - Method in interface org.openrewrite.trait.Trait
- 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
- getDelegate() - Method in interface org.openrewrite.Recipe.DelegatingRecipe
- 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.FindDeserializationErrors
- 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.FindDeserializationErrors
- 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
- getEitherOrPatterns(String) - Static method in class org.openrewrite.PathUtils
- 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
- getExcludedPatterns(String) - Static method in class org.openrewrite.PathUtils
- 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
- getFileAttributes() - Method in interface org.openrewrite.SourceFile
- getGitRemote() - Method in class org.openrewrite.marker.GitProvenance
- 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
- getLanguage() - Method in class org.openrewrite.quark.QuarkVisitor
- getLanguage() - Method in class org.openrewrite.TreeVisitor
- getLargeFileHttpSender() - Method in class org.openrewrite.HttpSenderExecutionContextView
- 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 interface org.openrewrite.ExecutionContext
- getMessage(String, T) - Method in class org.openrewrite.Cursor
- getMethod() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- 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
- 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
- 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
- getReadTimeout() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getRecipe() - Method in class org.openrewrite.Preconditions.RecipeCheck
- 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
- getRecipes() - Method in class org.openrewrite.RecipeList
- 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
- getRepositoryOrigin() - Method in class org.openrewrite.marker.GitProvenance
- getRepositoryPath() - 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(AtomicReference<GitProvenance>) - 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
- 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
- getTree() - Method in interface org.openrewrite.trait.Trait
- getUri() - Method in interface org.openrewrite.remote.Remote
- getUrl() - Method in class org.openrewrite.ipc.http.HttpSender.Request
- getValidateCursorAcyclic() - Method in class org.openrewrite.CursorValidatingExecutionContextView
- 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.FindDeserializationErrors
- getVisitor() - Method in class org.openrewrite.FindParseFailures
- getVisitor() - Method in class org.openrewrite.FindQuarks
- getVisitor() - Method in class org.openrewrite.FindSourceFiles
- getVisitor() - Method in interface org.openrewrite.internal.WhitespaceValidationService
- 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(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
- GitHub - Enum constant in enum class org.openrewrite.GitRemote.Service
- GithubActionsBuildEnvironment - Class in org.openrewrite.marker.ci
- GithubActionsBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.GithubActionsBuildEnvironment
- GitLab - Enum constant in enum class org.openrewrite.GitRemote.Service
- GitlabBuildEnvironment - Class in org.openrewrite.marker.ci
- GitlabBuildEnvironment() - Constructor for class org.openrewrite.marker.ci.GitlabBuildEnvironment
- GitProvenance - Class in org.openrewrite.marker
- GitProvenance(UUID, String, String, String, GitProvenance.AutoCRLF, GitProvenance.EOL, List<GitProvenance.Committer>) - 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
- GitRemote - Class in org.openrewrite
- GitRemote() - Constructor for class org.openrewrite.GitRemote
- GitRemote.Parser - Class in org.openrewrite
- GitRemote.RemoteServer - Class in org.openrewrite
- GitRemote.Service - Enum Class in org.openrewrite
- 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.GitRemote
- 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
- hasPlaceholders(String) - Method in class org.openrewrite.internal.PropertyPlaceholderHelper
- head(String) - Method in interface org.openrewrite.ipc.http.HttpSender
- HEAD - Enum constant in enum class org.openrewrite.ipc.http.HttpSender.Method
- higher(Cursor) - Method in class org.openrewrite.trait.SimpleTraitMatcher
- higher(Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
-
Looks up the cursor stack (ancestors) for trees that match the trait.
- 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
- init() - Method in interface org.openrewrite.shell.exec.ShellExecutor
- 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.
- 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, ExecutionContext) - Method in class org.openrewrite.Preconditions.Check
- 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.
- 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
- 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
- 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
- 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.ExactVersionWithPattern
- isValid(String, String) - Method in class org.openrewrite.semver.HyphenRange
- isValid(String, String) - Method in class org.openrewrite.semver.LatestIntegration
- 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.
- LatestIntegration - Class in org.openrewrite.semver
- LatestIntegration(String) - Constructor for class org.openrewrite.semver.LatestIntegration
- 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() - Method in class org.openrewrite.marker.Range
- 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
- 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(Cursor) - Method in class org.openrewrite.trait.SimpleTraitMatcher
- lower(Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
-
Looks down the syntax tree starting at the cursor stack (descendents) for trees that match the trait.
- lower(SourceFile) - Method in interface org.openrewrite.trait.TraitMatcher
-
Looks down the syntax tree starting at the source file (root LST) for trees that match the trait.
- 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, String) - Method in class org.openrewrite.semver.DependencyMatcher
- matches(String, String, String) - Method in class org.openrewrite.semver.DependencyMatcher
- matches(String) - Method in enum class org.openrewrite.internal.NameCaseConvention
-
Whether the input matches the formatting style of this
NameCaseConvention
. - 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.search.FindCommitters
- 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
- 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
- NlsRewrite - Class in org.openrewrite
- NlsRewrite() - Constructor for class org.openrewrite.NlsRewrite
- NlsRewrite.Description - Annotation Interface in org.openrewrite
- NlsRewrite.DisplayName - Annotation Interface in org.openrewrite
- none() - Static method in interface org.openrewrite.Validated
- None() - Constructor for class org.openrewrite.Validated.None
- NonNull - Annotation Interface in org.openrewrite.internal.lang
-
Deprecated.Use
NonNull
instead. - NonNullApi - Annotation Interface in org.openrewrite.internal.lang
-
Deprecated.Use
NullMarked
instead. - 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
- 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
-
Deprecated.Use
Nullable
instead. - 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.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.shell.exec - package org.openrewrite.shell.exec
- 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.trait - package org.openrewrite.trait
- 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 class org.openrewrite.GitRemote.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() - Constructor for class org.openrewrite.GitRemote.Parser
- 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
- postExec() - Method in interface org.openrewrite.shell.exec.ShellExecutor
- 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
- Preconditions.Check - Class in org.openrewrite
- Preconditions.RecipeCheck - Class in org.openrewrite
- preVisit(T, P) - Method in class org.openrewrite.TreeVisitor
- preVisit(Tree, Integer) - Method in class org.openrewrite.internal.FindRecipeRunException
- 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(byte[], int, int) - Method in class org.openrewrite.internal.EncodingDetectingInputStream
- 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. - recipe(String, String, TreeVisitor<? extends Tree, ExecutionContext>) - Method in class org.openrewrite.RecipeList
- recipe(Recipe) - Method in class org.openrewrite.RecipeList
- recipe(Recipe.Builder) - Method in class org.openrewrite.RecipeList
- 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
- Recipe.Builder - Class in org.openrewrite
- Recipe.DelegatingRecipe - Interface in org.openrewrite
- RecipeCheck(Recipe, TreeVisitor<?, ExecutionContext>) - Constructor for class org.openrewrite.Preconditions.RecipeCheck
- 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
- RecipeList - Class in org.openrewrite
- RecipeList() - Constructor for class org.openrewrite.RecipeList
- 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
- registerRemote(GitRemote.Service, String) - Method in class org.openrewrite.GitRemote.Parser
-
Register a remote git server with a single origin with a single (supplied or guessed) protocol.
- registerRemote(GitRemote.Service, URI, Collection<URI>) - Method in class org.openrewrite.GitRemote.Parser
-
Register a remote git server with multiple protocols and ports all matching the same server/origin.
- 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
- RemoteServer(GitRemote.Service, String, URI...) - Constructor for class org.openrewrite.GitRemote.RemoteServer
- RemoteServer(GitRemote.Service, String, Collection<URI>) - Constructor for class org.openrewrite.GitRemote.RemoteServer
- 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>, Duration, Duration) - Constructor for class org.openrewrite.ipc.http.HttpSender.Request
- require(Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
- require(Tree, Cursor) - Method in interface org.openrewrite.trait.TraitMatcher
- 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
- 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
- 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.DeserializationErrorTable.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
- Row() - Constructor for class org.openrewrite.table.TextMatches.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
S
- 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
- 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
- service(Class<S>) - Method in interface org.openrewrite.SourceFile
- setArtifactCache(RemoteArtifactCache) - Method in class org.openrewrite.remote.RemoteExecutionContextView
- 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
- SetFilePermissions - Class in org.openrewrite
- SetFilePermissions() - Constructor for class org.openrewrite.SetFilePermissions
- setHttpSender(HttpSender) - Method in class org.openrewrite.HttpSenderExecutionContextView
- setLargeFileHttpSender(HttpSender) - Method in class org.openrewrite.HttpSenderExecutionContextView
- 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
- setValidateCursorAcyclic(boolean) - Method in class org.openrewrite.CursorValidatingExecutionContextView
- sha256(SourceFile, ExecutionContext) - Static method in class org.openrewrite.Checksum
- ShellExecutor - Interface in org.openrewrite.shell.exec
- SimpleTraitMatcher<U extends Trait<?>> - Class in org.openrewrite.trait
- SimpleTraitMatcher() - Constructor for class org.openrewrite.trait.SimpleTraitMatcher
- 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
- Subscription(TreeObserver, boolean) - 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
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.
- test(Cursor) - Method in class org.openrewrite.trait.SimpleTraitMatcher
- 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.
- TextMatches - Class in org.openrewrite.table
- TextMatches(Recipe) - Constructor for class org.openrewrite.table.TextMatches
- TextMatches.Row - Class in org.openrewrite.table
- 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.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
- toUri(GitRemote, String) - Method in class org.openrewrite.GitRemote.Parser
- Trait<T extends Tree> - Interface in org.openrewrite.trait
-
A trait captures semantic information related to a syntax element.
- TraitMatcher<U extends Trait<?>> - Interface in org.openrewrite.trait
-
A trait matcher builds
Trait
instances when they match the criteria for that trait. - 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
- treeChanged(Cursor, T, Tree) - Method in class org.openrewrite.TreeObserver.Subscription
- TreeObserver - Interface in org.openrewrite
- TreeObserver.Subscription - Class in org.openrewrite
- TreeVisitor<T extends @Nullable 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
- Unknown - Enum constant in enum class org.openrewrite.GitRemote.Service
- 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
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.GitRemote.Service
-
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.GitRemote.Service
-
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.CursorValidatingExecutionContextView
- 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, ExecutionContext) - Method in class org.openrewrite.Preconditions.Check
- visit(Tree, ExecutionContext, Cursor) - Method in class org.openrewrite.Preconditions.Check
- visit(Tree, P) - Method in class org.openrewrite.TreeVisitor
- visit(Tree, P, Cursor) - Method in class org.openrewrite.TreeVisitor
- visit(U) - Method in interface org.openrewrite.trait.VisitFunction
- visit(U, P) - Method in interface org.openrewrite.trait.VisitFunction2
- 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
- VisitFunction<U extends Trait<?>> - Interface in org.openrewrite.trait
- VisitFunction2<U extends Trait<?>,
P> - Interface in org.openrewrite.trait - 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
- visitor(TreeVisitor<? extends Tree, ExecutionContext>) - Method in class org.openrewrite.Recipe.Builder
- 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
- WhitespaceValidationService - Interface in org.openrewrite.internal
-
Return a visitor suitable for use by the test framework to validate that whitespace contains no non-whitespace characters.
- 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
- withConnectTimeout(Duration) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- 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.
- withReadTimeout(Duration) - Method in class org.openrewrite.ipc.http.HttpSender.Request.Builder
- 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.
- YamlResourceLoader(InputStream, URI, Properties, ClassLoader, Collection<? extends ResourceLoader>, Consumer<ObjectMapper>) - 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
LargeSourceSet.beforeCycle(boolean)
instead