@Nullable abstract fun getManagedMetric(method: Method): ManagedMetric
Implementations should return an instance of ManagedMetric if the supplied Method has the corresponding metadata. Otherwise should return null.
method - the method to read the attribute data from
InvalidMetadataException - in case of invalid attributes
Return
the metric, or null if not found