Add Documented annotation and javadoc to new mixin annotations
This commit is contained in:
@@ -24,13 +24,19 @@
|
||||
*/
|
||||
package net.runelite.api.mixins;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Indicates a copy of the specified method should be copied into
|
||||
* the target class.
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
@Documented
|
||||
public @interface Copy
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -24,13 +24,18 @@
|
||||
*/
|
||||
package net.runelite.api.mixins;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Replaces the existing method in the target class with the given method.
|
||||
*/
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
@Documented
|
||||
public @interface Replace
|
||||
{
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user