[Java] Annotation Type Traits.TraitBridge
- org.codehaus.groovy.transform.trait.Traits.TraitBridge
@Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @interface Traits.TraitBridge
Internal annotation used to indicate that a method is a bridge method to a trait default implementation.
Element Summary
Type | Name and Description |
---|---|
String |
desc
|
Class<?> |
traitClass
|
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Element Detail
public String desc
- Returns:
- The method descriptor of the method from the trait
public Class<?> traitClass
- Returns:
- the trait class
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/transform/trait/Traits.TraitBridge.html