mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-18 19:29:08 +00:00
24 lines
737 B
Java
24 lines
737 B
Java
package stanhebben.zenscript.annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
/**
|
|
* Used to indicate a member setter. Companion to member getters, but allow
|
|
* setting contents of this object as if they were members.
|
|
*
|
|
* If this method is a native class, it accepts a string parameter with
|
|
* the member name and a second parameter with the value. If this method is an
|
|
* expansion method, it accepts the source value, the member name and the value
|
|
* to be assigned.
|
|
*
|
|
* @author Stan Hebben
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Target(ElementType.METHOD)
|
|
public @interface ZenMemberSetter {
|
|
|
|
}
|