Annotation Type UsesBytecodeModification


@Documented @Target({TYPE,METHOD}) @Retention(RUNTIME) public @interface UsesBytecodeModification
Marker indicating that the annotated element uses (or attempts to use) bytecode-modification library(ies).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Bytecode libraries requires for the target to work properly.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Marker indicating whether bytecode modifications are optional and (in case of failed attempt to use the needed libraries) will be handled via non-bytecode-modifying APIs.
  • Element Details

    • value

      Bytecode libraries requires for the target to work properly.
      Returns:
      array of bytecode libraries required for the target to work properly
    • optional

      boolean optional
      Marker indicating whether bytecode modifications are optional and (in case of failed attempt to use the needed libraries) will be handled via non-bytecode-modifying APIs.
      Returns:
      true if the target is able to do its jub without bytecode libraries (using alternative APIs) and false otherwise
      Default:
      false