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