feat(annotations): add command containers (#364)

This is the first part of the introduction of annotation processing to cloud. A new `@CommandContainer` annotation has been introduced, which can be placed on classes to have the annotation parser automatically construct & parse the classes when `AnnotationParser.parseContainers()` is invoked.

A future PR will introduce another processor that will scan for `@CommandMethod` annotations and verify the integrity of the annotated methods (visibility, argument annotations, etc.).
This commit is contained in:
Alexander Söderberg 2022-05-31 15:37:45 +02:00 committed by Jason
parent d613fd0208
commit f1582fb64e
15 changed files with 543 additions and 2 deletions

View file

@ -54,6 +54,7 @@ versions:
mockitoKotlin : 4.0.0
mockitoJupiter: 4.5.1
truth : 1.1.3
compileTesting: 0.19
# build-logic
indra: 2.1.1
@ -223,6 +224,10 @@ dependencies:
group: com.google.truth.extensions
name: truth-java8-extension
version: { ref: truth }
compileTesting:
group: com.google.testing.compile
name: compile-testing
version: { ref: compileTesting }
# build-logic
indraCommon: