Files
twodcraft/src/main/java/cz/jzitnik/game/annotations/PlaceOnSolidNoHandler.java
jzitnik-dev 53a3ae43f3 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.
2025-03-16 20:37:24 +01:00

13 lines
346 B
Java

package cz.jzitnik.game.annotations;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.lang.annotation.ElementType;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@RequireAnnotation(BlockRegistry.class)
public @interface PlaceOnSolidNoHandler {
}