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