summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/plugin/java/annotation/Name.java
blob: 2ef196bc6b1a3092873f1bee12aac7461733d5ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package org.bukkit.plugin.java.annotation;

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

/**
 *  Part of the plugin annotations framework.
 *  <p>
 *  Represents the name of the plugin.
 *  <p>
 *  If not present in a class annotated with {@link Main} the name defaults to Class.getSimpleName() and will emmit a warning.
 */

@Target(ElementType.TYPE)
public @interface Name {

    public String value();
}