Annotation Interface Hook


@Retention(RUNTIME) public @interface Hook
Use this annotation to install a statement-specific hook or callback at time of statement creation.

See HookType to the types of hooks that may be installed.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the simple class name (using imports) or fully-qualified class name of the hook.
    Returns hook type.
  • Element Details

    • hook

      String hook
      Returns the simple class name (using imports) or fully-qualified class name of the hook.
      Returns:
      class name
    • type

      HookType type
      Returns hook type.
      Returns:
      hook type