Annotation Type Traits.TraitBridge

Enclosing class:
Traits

@Retention(RUNTIME)
@Target(METHOD)
public static @interface Traits.TraitBridge
Internal annotation used to indicate that a method is a bridge method to a trait default implementation.
  • Required Element Summary

    Required Elements
    Modifier and Type Required Element Description
    java.lang.String desc  
    java.lang.Class<?> traitClass  
  • Element Details

    • traitClass

      java.lang.Class<?> traitClass
      Returns:
      the trait class
    • desc

      java.lang.String desc
      Returns:
      The method descriptor of the method from the trait