use of stanhebben.zenscript.type.casting.CastingRuleStaticMethod in project ZenScript by CraftTweaker.
the class ZenExpandCaster method constructCastingRules.
public void constructCastingRules(IEnvironmentGlobal environment, ICastingRuleDelegate rules) {
ZenType type = method.getReturnType();
rules.registerCastingRule(type, new CastingRuleStaticMethod(method));
type.constructCastingRules(environment, new CastingRuleDelegateStaticMethod(rules, method), false);
}
Aggregations