Home > @loopback/metadata > MetadataInspector
MetadataInspector class
Inspector for metadata applied by decorators
Signature:
export declare class MetadataInspector
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
|
|
Expose the reflector for TypeScript design-time metadata | ||
|
|
Expose Reflector, which is a wrapper of |
Methods
| Method | Modifiers | Description |
|---|---|---|
|
|
Define metadata for the given target | |
|
|
Get the metadata associated with the given key for all methods of the target class or prototype | |
|
|
Get the metadata associated with the given key for all parameters of a given method | |
|
|
Get the metadata associated with the given key for all properties of the target class or prototype | |
|
|
Get the metadata associated with the given key for a given class | |
|
|
Get TypeScript design time type for a method. | |
|
|
Get TypeScript design time type for a property | |
|
|
Get the metadata associated with the given key for a given method of the target class or prototype | |
|
getParameterMetadata(key, target, methodName, index, options) |
|
Get the metadata associated with the given key for a parameter of a given method by index |
|
|
Get the metadata associated with the given key for a given property of the target class or prototype |