Gijs de Jong
c14c7de88c
Use settings.xml in jitpack build
2023-09-01 14:35:07 +02:00
Gijs de Jong
cb7f84bb79
Build with refaster speedup fork
2023-09-01 14:28:42 +02:00
Gijs de Jong
1041b7ff36
add jitpack.yml config
2023-09-01 13:37:50 +02:00
Gijs de Jong
0baedb4383
fix build
2023-08-17 13:24:15 +02:00
Gijs de Jong
12d9361e5c
rebase
2023-08-17 13:12:57 +02:00
Stephan Schroevers
68b3780d4e
Suggestions
2023-08-17 10:26:28 +02:00
Stephan Schroevers
539f358d17
Suggestions
2023-08-17 10:23:12 +02:00
Rick Ossendrijver
4d27038906
Revert changes in OptionalTemplates
2023-08-17 10:21:34 +02:00
Rick Ossendrijver
8dc1876414
Move AnnotatedCompositeCodeTransformer and ErrorProneFork to refaster-support
2023-08-17 10:20:31 +02:00
Stephan Schroevers
4c246c1e76
Tweaks
2023-08-17 10:18:50 +02:00
Pieter Dirk Soels
e9957e1f4e
Pass null for urlLink to Description.Builder
2023-08-17 10:18:30 +02:00
Pieter Dirk Soels
6da37e206d
Suggestion
2023-08-17 10:17:56 +02:00
Stephan Schroevers
390a889316
Clarify how the default Refaster hit severity comes to be
...
Plus other tweaks.
2023-08-17 10:17:36 +02:00
Stephan Schroevers
a9fa40804e
Suggestions, introduce ErrorProneFork
2023-08-17 10:16:22 +02:00
Rick Ossendrijver
bb5fd10943
Tweak
2023-08-17 10:15:15 +02:00
Rick Ossendrijver
2a6aa41c23
Support AllSuggestionsAsWarnings and add a suggestion
2023-08-17 10:15:13 +02:00
Rick Ossendrijver
6edad4d735
Use @AutoValue for the AnnotatedCompositeCodeTransformer
2023-08-17 10:14:20 +02:00
Stephan Schroevers
d72a587ab2
Flag classpath issue
2023-08-17 10:13:07 +02:00
Stephan Schroevers
66e2542470
Expand test coverage
2023-08-17 10:13:06 +02:00
Stephan Schroevers
bdcdf7fe8e
Properly document URL placeholder usage
2023-08-17 10:10:53 +02:00
Stephan Schroevers
8d79f67329
Improve logic and test coverage
2023-08-17 10:10:11 +02:00
Stephan Schroevers
9e47679822
Flag why build currently doesn't fail, while it should.
2023-08-17 10:06:02 +02:00
Stephan Schroevers
6fff10f07d
Better annotation support, simplify setup
2023-08-17 10:05:22 +02:00
Stephan Schroevers
b9c7357ecc
Tweaks
2023-08-17 10:03:00 +02:00
Stephan Schroevers
b9482b4c1e
Another round
2023-08-17 10:01:34 +02:00
Stephan Schroevers
27139482c0
WIP: Some plumbing for annotation support
...
To be used for custom links, custom error messages, custom other stuff...
2023-08-14 17:08:24 +02:00
Stephan Schroevers
de091f7a87
More extensible approach
2023-08-14 17:04:52 +02:00
Stephan Schroevers
7175663bed
Emit website link along with Refaster refactor suggestions
2023-08-14 17:03:57 +02:00
Stephan Schroevers
7c0b3af53b
Suggestions
2023-08-14 17:02:24 +02:00
Ivan Babiankou
2ad2722b02
Suggestions
2023-08-14 17:02:23 +02:00
Rick Ossendrijver
29ad499995
Fix typo
2023-08-14 17:01:55 +02:00
Stephan Schroevers
86e8caa321
Comment style, explain both performance-only pieces of code
...
Since PIT correctly flags these as "redundant".
Also for JDK 11 compatibility.
2023-08-14 17:01:55 +02:00
Stephan Schroevers
53ad3aa61f
Optimize code, introduce benchmark, simplify test
2023-08-14 17:01:51 +02:00
Stephan Schroevers
58dd1bf85a
Apply some suggestions
2023-08-14 17:00:23 +02:00
Rick Ossendrijver
2f8d525bc8
Reorder methods in RefasterIntrospection
2023-08-14 17:00:23 +02:00
Rick Ossendrijver
8c7aee2398
Introduce getClass method to deduplicate
2023-08-14 17:00:22 +02:00
Rick Ossendrijver
3e0341591a
Extract the TreeScanners to their own classes
2023-08-14 17:00:22 +02:00
Rick Ossendrijver
28493a61cd
Suggestion
2023-08-14 17:00:22 +02:00
Stephan Schroevers
4ae58e77f3
Push sorting requirements into Node, minimize tree, add tests
2023-08-14 17:00:22 +02:00
Stephan Schroevers
1d1332542c
Move all RefasterRuleSelector construction logic into the relevant class
2023-08-14 17:00:16 +02:00
Stephan Schroevers
693932df56
Create selector only once per Refaster instantiation
2023-08-14 16:59:53 +02:00
Stephan Schroevers
7daedc714d
Merge RefasterRuleSelector type hierarchy
2023-08-14 16:59:53 +02:00
Rick Ossendrijver
b91bfc7919
Add XXXs
2023-08-14 16:59:53 +02:00
Rick Ossendrijver
ba83279aee
Drop unnecessary @AutoService annotation
2023-08-14 16:59:53 +02:00
Rick Ossendrijver
a6e70b0661
Improve code and algorithm for Refaster
2023-08-14 16:59:53 +02:00
Rick Ossendrijver
923e977c4d
Initial copy over of the improved algorithm
2023-08-14 16:59:49 +02:00
Stephan Schroevers
292869077e
Compatibility with stock Error Prone
2023-08-14 16:58:13 +02:00
Stephan Schroevers
2f727db8ce
WIP: Speed up Refaster check
...
This code assumes a modification of Error Prone; see the
`sschroevers/refaster-tree-tweaks` branch on the fork.
2023-08-14 16:58:07 +02:00
Giovanni Zotta
7fb0e551d4
Introduce VerifyOnlyElementInFlux Refaster rule ( #617 )
2023-08-14 14:05:14 +02:00
Mohamed Sameh
4af7b21bf5
Introduce NestedPublishers check ( #642 )
...
And introduce a few utility methods that simplify `Tree`- and `Type`-based
matching, allowing the existing (and similar) `NestedOptionals` check to be
simplified as well.
2023-08-14 10:30:45 +02:00