13
0
geforkt von Mirrors/Paper
Paper/paper-api/src/main/java/org/bukkit/Keyed.java
Bukkit/Spigot 416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00

18 Zeilen
328 B
Java

package org.bukkit;
import org.jetbrains.annotations.NotNull;
/**
* Represents an object which has a {@link NamespacedKey} attached to it.
*/
public interface Keyed {
/**
* Return the namespaced identifier for this object.
*
* @return this object's key
*/
@NotNull
NamespacedKey getKey();
}