blob: a22ad0fd68327fb63f200dc423abe6598aacd0b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package moe.nea.firmament.init;
import net.fabricmc.loader.api.MappingResolver;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Injects the intermediary name of the given field into this field by replacing its initializer with a call to
* {@link MappingResolver#mapClassName(String, String)}
*/
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.FIELD)
public @interface IntermediaryName {
// String method() default "";
//
// String field() default "";
Class<?> value();
}
|