blob: c1af342b87f0f865280f262d73957042aff9aeda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package io.github.moulberry.repo.util;
import java.lang.annotation.*;
/**
* Indicates that this string is a pet id. Unlike {@link NEUId}, this pet id
* does not include the {@code ;RARITY} postfix. So an {@link PetId} {@link String}
* would be {@code "BEE"}, while a {@link NEUId} {@link String} would be {@code "BEE;2"}.
* When applied to a method, indicates the return type is a pet id.
* When applied to a parameter, field, or local variable indicated that the variable type is a pet id.
*/
@Documented
@Target({ElementType.PARAMETER, ElementType.FIELD, ElementType.LOCAL_VARIABLE, ElementType.METHOD, ElementType.TYPE_USE})
@Retention(RetentionPolicy.CLASS)
public @interface PetId {
}
|