feat: annotation string processors (#353)

adds a system for processing strings found in annotations before they're used by AnnotationParser

implements #347

Also, because we're using "-Werror", the code won't actually build (and thus tests won't work) using JDK18. To remedy this, a bunch of @SuppressWarnings("serial")s has been added to the exceptions. We don't serialize exceptions, and they're in fact non-serializable because of their members, so this is the appropriate solution (well, the better solution would be to make them serializable, but that's outside the scope of this PR).
This commit is contained in:
Alexander Söderberg 2022-05-26 06:53:54 +02:00 committed by Jason
parent ed7b7569a8
commit d681ba5840
28 changed files with 715 additions and 38 deletions

View file

@ -52,6 +52,7 @@ versions:
jupiterEngine : 5.8.2
mockitoCore : 4.1.0
mockitoKotlin : 4.0.0
mockitoJupiter: 4.5.1
truth : 1.1.3
# build-logic
@ -206,6 +207,10 @@ dependencies:
group: org.mockito.kotlin
name: mockito-kotlin
version: { ref: mockitoKotlin }
mockitoJupiter:
group: org.mockito
name: mockito-junit-jupiter
version: { ref: mockitoJupiter }
truth:
group: com.google.truth
name: truth