@Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) @GroovyASTTransformationClass("org.codehaus.groovy.transform.trait.TraitASTTransformation") public @interface Trait
Used to mark a class as being a trait.
class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.