@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface AnnotationRemap
| Modifier and Type | Required Element and Description |
|---|---|
RemapType |
value
The type of the annotation field.
e.g. |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
allowClassPrefix
Allow a class prefix to be added to short members only.
e.g. |
java.lang.Class<? extends IDynamicRemapper> |
dynamicRemapper
The dynamic remapper class to use for remapping value types marked with
RemapType.DYNAMIC.This class has to implement IDynamicRemapper. |
FillType |
fill
The type of action to perform when remapping the annotation field.
e.g. |
public abstract RemapType value
RemapType.CLASSpublic abstract FillType fill
FillType.KEEP_EMPTY when allowing empty values (see CASM for an example)public abstract boolean allowClassPrefix
"Ljava/lang/String;hashCode()I" or "java/lang/String.hashCode()I"public abstract java.lang.Class<? extends IDynamicRemapper> dynamicRemapper
RemapType.DYNAMIC.IDynamicRemapper.