[Java] Annotation Type TraitBridge
- org.codehaus.groovy.transform.trait.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 @return The method descriptor of the method from the trait |
Class |
traitClass @return the trait class |
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/2.4.21/html/gapi/org/codehaus/groovy/transform/trait/Traits.TraitBridge.html