Package bridge

Annotation Interface Adopt


@Target(TYPE) public @interface Adopt
An annotation for editing class properties
Notes:
Usages of this annotation are counted as adjustments.
  • 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.Polymorphic.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:
      ""