---
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

**Signature:**

```typescript
export declare class MethodDecoratorFactory<T> extends DecoratorFactory<T, MetadataMap<T>, MethodDecorator> 
```
**Extends:** [DecoratorFactory](./metadata.decoratorfactory.md)<!-- -->&lt;T, [MetadataMap](./metadata.metadatamap.md)<!-- -->&lt;T&gt;, MethodDecorator&gt;

## Methods

<table><thead><tr><th>

Method


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[create()](./metadata.methoddecoratorfactory.create.md)


</td><td markdown="1">


</td><td markdown="1">


</td></tr>
<tr><td markdown="1">

[createDecorator(key, spec, options)](./metadata.methoddecoratorfactory.createdecorator.md)


</td><td markdown="1">

`static`


</td><td markdown="1">

Create a method decorator function


</td></tr>
<tr><td markdown="1">

[mergeWithInherited(inheritedMetadata, target, methodName, methodDescriptor)](./metadata.methoddecoratorfactory.mergewithinherited.md)


</td><td markdown="1">

`protected`


</td><td markdown="1">


</td></tr>
<tr><td markdown="1">

[mergeWithOwn(ownMetadata, target, methodName, methodDescriptor)](./metadata.methoddecoratorfactory.mergewithown.md)


</td><td markdown="1">

`protected`


</td><td markdown="1">


</td></tr>
</tbody></table>


