Commit graph

19 commits

Author SHA1 Message Date
Jason Penilla
708d11854e Fix import order 2021-12-02 02:04:43 -08:00
Pasqual Koschmieder
526ef2af61 Allow parser parameter annotations for flags as well (#315) 2021-12-02 02:04:43 -08:00
Frank van der Heijden
730e78e212 Make CommandMethod applicable to class 2021-12-02 02:04:43 -08:00
alexander.soderg
d0162c3317 Annotations: Add test for multi-alias commands 2021-12-02 02:04:43 -08:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!! 2021-01-16 09:58:46 +01:00
Alexander Söderberg
9ed40a698a Allow interception of command builders based on annotations in AnnotationParser
Fixes #179
2020-12-18 19:49:57 +01:00
Alexander Söderberg
6cc3a21619 Allow default suggestion providers in @Parser 2020-12-18 19:49:57 +01:00
Alexander Söderberg
e5a35afb8a Add @Parser annotated methods
Fixes #166. Also fixes #180.
2020-12-18 19:49:57 +01:00
Alexander Söderberg
ab366be24d :sparkes: Add @Suggestions annotated methods 2020-12-18 19:49:57 +01:00
broccolai
237eda75ef Reformat project 2020-12-07 20:05:45 +01:00
Irmo van den Berge
1c7ebe0957 Fix junit test error when named suggestion provider runs before method construction
Parsing should occur in the @BeforeAll or this test fails sporadically

Signed-off-by: Irmo van den Berge <irmo.vandenberge@ziggo.nl>
2020-12-07 20:05:45 +01:00
Alexander Söderberg
c2065aabd1 Add parameter injectors (#104) 2020-12-07 20:05:45 +01:00
Alexander Söderberg
a68bc0bea7 Allow for recursive annotations (#97)
Co-authored-by: Mariell <proximyst@proximyst.com>
2020-10-24 19:52:44 +02:00
Alexander Söderberg
3c7bd63f07 Add named suggestion providers
This allows for pre-registration of command suggestion providers, that can then be used in annotated command methods.
2020-10-24 19:52:44 +02:00
Alexander Söderberg
2aac3980d5 ♻️ Reformat + Update .editorconfig 2020-10-07 22:47:48 +02:00
Alexander Söderberg
c67619e5da
Add flag support to the annotation system. 2020-10-02 21:08:32 +02:00
Alexander Söderberg
26f11e3a7e 🚚 More removal of javax annotations 2020-09-30 10:40:44 +02:00
Alexander Söderberg
e033ee88db
Update LICENSE text 2020-09-27 23:30:13 +02:00
Alexander Söderberg
c74cda3a0f
🚚 Switch namespace 2020-09-27 23:04:15 +02:00
Renamed from cloud-annotations/src/test/java/com/intellectualsites/commands/annotations/AnnotationParserTest.java (Browse further)