AttributeImpl attribute;
if (attributeDef == null) {
Map<String, RegisterEventDef> events = def.getRegisterEventDefs();
if (events.containsKey(attributeDefRef.getDescriptor().getName())) {
EventHandlerImpl eh = new EventHandlerImpl(attributeDefRef.getDescriptor().getName());
Object o = attributeDefRef.getValue();
if (!(o instanceof PropertyReference)) {
// FIXME: where are we?
throw new InvalidDefinitionException(String.format("%s no can haz %s", eh.getName(), o),
SUPER_PASSTHROUGH);
}
eh.setActionExpression((PropertyReference) o);
set(eh);
return;
} else {
// FIXME: where are we?
throw new AttributeNotFoundException(rootDefDescriptor, attributeDefRef.getName(), SUPER_PASSTHROUGH);