@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface TraceByReturnType
traceReturnTypes()
with a @{link com.newrelic.api.agent.Trace} annotation.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class[] |
traceReturnTypes
Specifies return types of methods that should be annotated with
traceReturnTypes()
Type parameters for Generic Types are ignored. |
public abstract java.lang.Class[] traceReturnTypes
traceReturnTypes()
Type parameters for Generic Types are ignored. e.g. List.class will match methods returning List