implement getDecorator