// Set pattern offset to the appropriate value
pattern.setOffset( context.getCurrentPatternOffset() );
// this is needed for Activation patterns, to allow declarations and annotations to be used like field constraints
if ( ClassObjectType.Match_ObjectType.isAssignableFrom( pattern.getObjectType() ) ) {
PropertyHandler handler = PropertyHandlerFactory.getPropertyHandler( AgendaItemImpl.class );
if ( handler == null ) {
PropertyHandlerFactoryFixer.getPropertyHandlerClass().put( AgendaItemImpl.class, new ActivationPropertyHandler() );
}
}