org.ssssssss.script.functions.DynamicAttribute Maven / Gradle / Ivy
The newest version!
package org.ssssssss.script.functions;
import org.ssssssss.script.exception.MagicScriptRuntimeException;
import java.beans.Transient;
public interface DynamicAttribute {
@Transient
T getDynamicAttribute(String key);
@Transient
default R setDynamicAttribute(String key, T value) {
throw new MagicScriptRuntimeException("不支持此赋值操作");
}
}