Package bridge

Annotation Interface Adopt


@Target(TYPE) public @interface Adopt
An annotation for editing class properties
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Removes existing class metadata when true
    Class<?>[]
    Appends to the implements clause
    Overwrites the extends clause
    Adds generic type data to the class definition
  • Element Details

    • clean

      boolean clean
      Removes existing class metadata when true
      Returns:
      Clean Status
      Default:
      false
    • parent

      Class<?> parent
      Overwrites the extends clause
      Returns:
      Parent Class
      Notes:
      Compatible super constructor(s) must exist within the specified class for them to be usable
      Default:
      bridge.Bridges.class
    • interfaces

      Class<?>[] interfaces
      Appends to the implements clause
      Returns:
      Parent Interfaces
      Default:
      {}
    • signature

      String signature
      Adds generic type data to the class definition
      Returns:
      Signature String
      Default:
      ""