use of lucee.runtime.type.UDFSetterProperty in project Lucee by lucee.
the class PropertyFactory method addSet.
public static void addSet(ComponentImpl comp, Property prop) throws PageException {
Member m = comp.getMember(Component.ACCESS_PRIVATE, KeyImpl.getInstance("set" + prop.getName()), true, false);
if (!(m instanceof UDF)) {
UDF udf = new UDFSetterProperty(comp, prop);
comp.registerUDF(KeyImpl.init(udf.getFunctionName()), udf);
}
}
Aggregations