180181182183184185186187188189190
case Type.CLASS: { ClassType type = (ClassType)_type; Function ctor = type.getConstructor(); if (ctor != null) { return ctor.execute(context, parameters); } throw context.InstantiationError("No constructor for "+type); }
496497498499500501502503504505506
public Any m_newInstance(Context context, Any[] parameters) { if (_typecode == Type.CLASS) { Function ctor = ((ClassType)_type).getConstructor(); if (ctor != null) { return ctor.execute(context, parameters); } } return UNDEFINED; }