Annotation Type Proxies


@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class) @Target(TYPE) @Retention(RUNTIME) public @interface Proxies
Used to specify that an interface is a "reflection proxy interface" for the specified class.

The target class can be specified using it's Class object, or for private/inaccessible classes, by the fully qualified class name.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The fully qualified name of the target class.
    The target class.
  • Element Details

    • value

      Class<?> value
      The target class. A value of Object.class indicates it has not been changed from the default, and that className() should be used to lookup the class instead.
      Returns:
      target class
      Default:
      java.lang.Object.class
    • className

      String className
      The fully qualified name of the target class. A value of "" (empty string) indicates it has not been changed from the default, and that value() should be used instead.
      Returns:
      target class name
      Default:
      ""