Annotation Type Replace


@Retention(CLASS) @Target({METHOD,CONSTRUCTOR,TYPE}) public @interface Replace
Annotation for a method that should replace a method of Java runtime. For example for a native method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The full signature of a method that should be replaced like "java/lang/Throwable.printStackTrace()V"
  • Element Details

    • value

      String value
      The full signature of a method that should be replaced like "java/lang/Throwable.printStackTrace()V"
      Returns:
      the signature