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

@ -18,6 +18,8 @@ dependencies {
implementation(libs.adventurePlatformBukkit)
/* Bukkit */
compileOnly(libs.bukkit)
/* Annotation processing */
annotationProcessor(project(":cloud-annotations"))
}
tasks {