Class Trait

java.lang.Object
org.openrewrite.groovy.marker.Trait
All Implemented Interfaces:
org.openrewrite.marker.Marker

public class Trait extends Object implements org.openrewrite.marker.Marker
Marks a J.ClassDeclaration that was declared with the Groovy trait keyword. The class declaration itself uses Kind.Type.Interface since a Groovy trait compiles to a JVM interface.
  • Constructor Details

    • Trait

      public Trait()