Package ch.njol.skript.lang.util

Examples of ch.njol.skript.lang.util.ContainerExpression


    assert node != null;
    if (Container.class.isAssignableFrom(expr.getReturnType())) {
      final ContainerType type = expr.getReturnType().getAnnotation(ContainerType.class);
      if (type == null)
        throw new SkriptAPIException(expr.getReturnType().getName() + " implements Container but is missing the required @ContainerType annotation");
      this.expr = new ContainerExpression(expr, type.value());
    } else {
      this.expr = expr;
    }
    ScriptLoader.currentSections.add(this);
    ScriptLoader.currentLoops.add(this);
View Full Code Here

TOP

Related Classes of ch.njol.skript.lang.util.ContainerExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.