use of lucee.runtime.Interface in project Lucee by lucee.
the class MetadataUtil method hasChanged.
private static boolean hasChanged(PageContext pc, long lastMetaCreation, ComponentImpl component) throws PageException {
if (component == null)
return false;
// check the component
Page p = getPage(pc, component._getPageSource());
if (p == null || hasChanged(p.getCompileTime(), lastMetaCreation))
return true;
// check interfaces
Interface[] interfaces = component.getInterfaces();
if (!ArrayUtil.isEmpty(interfaces)) {
if (hasChanged(pc, lastMetaCreation, interfaces))
return true;
}
// check base
return hasChanged(pc, lastMetaCreation, (ComponentImpl) component.getBaseComponent());
}