Annotation Type Proxy


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

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value
      The interface to proxy.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String className
      Specifies the class name of the generated class.
      java.lang.String suffix
      Specifies the suffix added to the class name of the generated class.
    • Element Detail

      • value

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

        java.lang.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

        java.lang.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"