Package com.newrelic.api.agent.weaver
Annotation Type Weave
-
@Target(TYPE) @Retention(RUNTIME) public @interface WeaveMarks a weave instrumentation class. Instructs the agent to weave a class into another class or set of classes. Weave classes can define new member variables by marking them with theNewFieldannotation. Methods that are being weaved must callWeaver.callOriginal()exactly once to inject the original method body.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringoriginalNameCanonical (package + class) name of the class to weave into.MatchTypetypeThe type of match.
-
-
-
Element Detail
-
type
MatchType type
The type of match. Defaults to anMatchType.ExactClassmatch.- Default:
- com.newrelic.api.agent.weaver.MatchType.ExactClass
-
-