Skip to content

Commit c8acdbb

Browse files
committed
feat: simplify AutoRegister annotation by removing unnecessary imports
1 parent d7e821d commit c8acdbb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/com/github/pinont/singularitylib/api/annotation/AutoRegister.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
package com.github.pinont.singularitylib.api.annotation;
22

3-
import java.lang.annotation.ElementType;
4-
import java.lang.annotation.Target;
5-
63
/**
74
* Annotation to mark classes for automatic registration by the plugin.
85
* This annotation is used to mark classes that need to be registered during the plugin's startup process.
@@ -13,7 +10,6 @@
1310
* It should only be used when the class extends {@code CustomItem}, {@code SimpleCommand}, or {@code Listener}.
1411
*/
1512

16-
@Target({ElementType.TYPE})
1713
public @interface AutoRegister {
1814
/**
1915
* Indicates that the annotated class should be automatically registered by the plugin.

0 commit comments

Comments
 (0)