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