Files
CraftTweaker/ZenScript/src/main/java/stanhebben/zenscript/annotations/ZenMemberSetter.java
T
Stan Hebben 97c7f42400 - Added documentation to some classes
- Created script provider system
- Did some refactoring to improve the API
2014-06-10 21:12:55 +02:00

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 {
}