@Target(value={})
@Retention(value=CLASS)
public @interface Interface
Implements for details.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.Class<?> |
iface
Interface that the parent
Implements indicates the mixin
implements. |
java.lang.String |
prefix
[Required] prefix for implementing interface methods.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Interface.Remap |
remap
By default, the annotation processor will attempt to locate an
obfuscation mapping for all methods soft-implemented by the interface
declared in this
Interface annotation, since it is possible that
the declared interface may be obfuscated and therefore contain obfuscated
member methods. |
boolean |
unique
If set to true, all methods implementing this interface are
treated as if they were individually decorated with
Unique |
public abstract java.lang.Class<?> iface
Implements indicates the mixin
implements. The interface will be hot-patched onto the target class as
part of the mixin application.public abstract java.lang.String prefix
Shadow prefixes, but must end with a dollar sign ($)public abstract boolean unique
Uniquepublic abstract Interface.Remap remap
Interface annotation, since it is possible that
the declared interface may be obfuscated and therefore contain obfuscated
member methods. However since it may be desirable to skip this pass (for
example if an interface method intrinsically shadows a soft-implemented
method) this setting is provided to restrict or inhibit processing of
member methods matching this soft-implements decoration.Interface.Remap for details.