Annotation Interface Proxy


@Retention(SOURCE) @Target(TYPE) public @interface Proxy
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The interface to proxy.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Specifies the class name of the generated class.
    Specifies the suffix added to the class name of the generated class.
  • Element Details

    • value

      Class<?> value
      The interface to proxy.
      Returns:
      the class to proxy
    • className

      String className
      Specifies the class name of the generated class. This cannot be the same as this or any other existing class.
      Returns:
      the class name
      Default:
      ""
    • suffix

      String suffix
      Specifies the suffix added to the class name of the generated class. If className() is specified this will be ignored.
      Returns:
      the suffix to add to the end of this classes name for the generated class
      Default:
      "Proxy"