Annotation Type Weave


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface Weave
    Marks 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 the NewField annotation. Methods that are being weaved must call Weaver.callOriginal() exactly once to inject the original method body.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String originalName
      Canonical (package + class) name of the class to weave into.
      MatchType type
      The type of match.
    • Element Detail

      • originalName

        java.lang.String originalName
        Canonical (package + class) name of the class to weave into. Defaults to the canonical name of the class this annotation is present on.
        Default:
        ""