Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
svavahb committed Sep 20, 2022
1 parent b431b7d commit 207a3f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions error-prone-contrib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,16 +241,16 @@ Refaster's expressiveness:
example would be to rewrite `BigDecimal.valueOf("<some-long-value>")` to
`BigDecimal.valueOf(theParsedLongValue)`.
- More generally, investigate ways to plug in fully dynamic behavior, e.g.
by providing hooks which enable plugging in arbitrary predicates/transformations.
The result would be a Refaster/`BugChecker` hybrid. A feature such as this
by providing hooks which enable plugging in arbitrary predicates/transformations.
The result would be a Refaster/`BugChecker` hybrid. A feature such as this
could form the basis for many other features listed here. (As a
concrete example, consider the ability to reference
`com.google.errorprone.matchers.Matcher` implementations.)
- Provide a way to match lambda expressions and method references which match a
specified functional interface. This would allow rewrites such as
`Mono.fromCallable(this::doesNotThrowCheckException)` ->
`Mono.fromSupplier(this::doesNotThrowCheckException)`.
- Provide an extension API which enables defining methods or expressions based on
- Provide an extension API which enables defining methods or expressions based on
functional properties. A motivating example is the Java Collections
framework, which allows many ways to define (im)mutable (un)ordered
collections with(out) duplicates. One could then express things like "match
Expand Down

0 comments on commit 207a3f2

Please sign in to comment.