At the moment, the spec does not say what should happen for metrics applied via stereotypes. We might need to come up with some clarifications, and perhaps a set of TCK tests to verify this.
Stereotypes can be applied to class level, or on producer fields/methods.
There might be some corner cases that need to be handled.
I suppose that if a stereotype adds a metric annotation that does not specify a name, the names should be generated as if it were applied directly, that means relative to the actual bean, not relative to the stereotype.
At the moment, the spec does not say what should happen for metrics applied via stereotypes. We might need to come up with some clarifications, and perhaps a set of TCK tests to verify this. Stereotypes can be applied to class level, or on producer fields/methods.
There might be some corner cases that need to be handled.
I suppose that if a stereotype adds a metric annotation that does not specify a name, the names should be generated as if it were applied directly, that means relative to the actual bean, not relative to the stereotype.