Annotation Type SkipIfPresent


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface SkipIfPresent
    This marks classes that, if present, should cause an entire weave package to abort loading. This is used when instrumenting multiple versions of a framework or library to help ensure that only one version of the instrumentation ever loads.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String originalName
      Canonical (package + class) name of the class that will cause a weave package not to load if present.
    • Element Detail

      • originalName

        java.lang.String originalName
        Canonical (package + class) name of the class that will cause a weave package not to load if present. Defaults to the canonical name of the class this annotation is present on.
        Default:
        ""