Skip to content

Commit

Permalink
Reflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Sep 20, 2022
1 parent 8253868 commit 22002ac
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions error-prone-contrib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,13 +240,12 @@ Refaster's expressiveness:
replace SLF4J's `{}` placeholders with `%s` or vice versa. Yet another
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 like 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.)
- 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 like 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 an extension API that 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
Expand Down

0 comments on commit 22002ac

Please sign in to comment.