All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.freya02.botcommands.api.annotations.CommandMarker Maven / Gradle / Ivy

package com.freya02.botcommands.api.annotations;

import com.freya02.botcommands.api.commands.prefixed.annotations.JDATextCommand;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Enables you to suppress unused warnings for reflectively accessed classes, such as (application) commands.
 * 
IDEs such as IntelliJ will suggest you a quick-fix to ignore unused warnings if annotated with @CommandMarker. *
This also works the same as with other annotations such as {@link JDATextCommand @JDATextCommand} on methods. */ @Retention(RetentionPolicy.SOURCE) @Target({ElementType.METHOD, ElementType.TYPE}) public @interface CommandMarker { }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy