test(annotations): New @RequireAnnotation

New annotation @RequireAnnotation can be used on annotations so that all
classes with that specific annotation must also have another annotation.
If this is not true, test will not pass. This annotation takes array of
annotations.
This commit is contained in:
2025-03-16 20:37:24 +01:00
parent e1190f7e6a
commit 53a3ae43f3
15 changed files with 72 additions and 42 deletions

5
.idea/misc.xml generated
View File

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<writeAnnotations>
<writeAnnotation name="cz.jzitnik.game.annotations.AutoTransient" />
</writeAnnotations>
</component>
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager">
<option name="originalFiles">