---
lang: en
title: 'API docs: metadata.methoddecoratorfactory'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/metadata
permalink: /doc/en/lb4/apidocs.metadata.methoddecoratorfactory.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/metadata](./metadata.md) &gt; [MethodDecoratorFactory](./metadata.methoddecoratorfactory.md)

## MethodDecoratorFactory class

Factory for method decorators

<b>Signature:</b>

```typescript
export declare class MethodDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T>, MethodDecorator> 
```
<b>Extends:</b> [DecoratorFactory](./metadata.decoratorfactory.md)<!-- -->&lt;T, [MetadataMap](./metadata.metadatamap.md)<!-- -->&lt;T&gt;, MethodDecorator&gt;

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [create()](./metadata.methoddecoratorfactory.create.md) |  |  |
|  [createDecorator(key, spec, options)](./metadata.methoddecoratorfactory.createdecorator.md) | <code>static</code> | Create a method decorator function |
|  [mergeWithInherited(inheritedMetadata, target, methodName, methodDescriptor)](./metadata.methoddecoratorfactory.mergewithinherited.md) |  |  |
|  [mergeWithOwn(ownMetadata, target, methodName, methodDescriptor)](./metadata.methoddecoratorfactory.mergewithown.md) |  |  |


